Skip to contents

Creates a RamanAnalysis S3 class object.

Usage

RamanAnalysis(
  name = NA_character_,
  replicate = NA_character_,
  blank = NA_character_,
  file = NA_character_,
  type = NA_character_,
  metadata = list(),
  spectra = data.table()
)

Arguments

name

asc file name without extension.

replicate

Character with length one, representing the analysis replicate group name.

blank

Character with length one, representing the associated blank replicate group name.

file

asc full file path (with extension).

type

String with the type of analysis.

metadata

List of analysis metadata taken from the asc file or added.

spectra

data.table with the raw spectra.

Value

An RamanAnalysis S3 class object.