powered by
meta returns metadata of spectra
meta
meta(x, label, sample, simplify = FALSE, quiet = TRUE)# S3 method for spectra meta(x, label = NULL, sample = NULL, simplify = FALSE, quiet = TRUE)
# S3 method for spectra meta(x, label = NULL, sample = NULL, simplify = FALSE, quiet = TRUE)
spectra object
metadata column index or label
sample index or name
boolean. defaults to FALSE
boolean. warn about non-existent metadata? defaults to TRUE
data frame or vector
spectra: get metadata
spectra
# NOT RUN { library(spectrolab) spec = as_spectra(spec_matrix_example, name_idx = 1) spec = normalize(spec) meta(spec, "normalization_magnitude") # }
Run the code above in your browser using DataLab