Reads in CSV files created by AutoSpectral or in the same format
(fluorophores in rows, detectors in columns, first row is detector names,
first column contains fluorophore names).
read.spectra(
spectra.file,
spectra.dir = "./table_spectra",
remove.af = FALSE,
af.param = "AF"
)File name for the spectra CSV file to be read.
File path to the folder containing spectra.file. Default
is table_spectra, where AutoSpectral saves the spectra files.
Logical, default is FALSE. If TRUE, returns the spectral
matrix without the default autofluorescence spectrum.
Name of the autofluorescence parameter. Default is AF. Note
that any fluorophores can be removed from the matrix by supplying a character
vector, e.g., c("BUV395", "PE"), if desired.
A matrix containing the fluorophore spectra (fluorophore x detectors).