GCIMSChromatogramSet-class.RdGCIMSChromatogramSet is an S4 class to store one GCIMSChromatogram per
sample of a GCIMSDataset, together with a copy of pData() so plots can
use the dataset's annotations.
Samples are not required to share a common retention time axis: each chromatogram keeps its own, exactly as extracted from its sample. No interpolation is performed.
# S4 method for class 'GCIMSChromatogramSet'
sampleNames(object)
# S4 method for class 'GCIMSChromatogramSet,ANY'
sampleNames(object) <- value
# S4 method for class 'GCIMSChromatogramSet'
pData(object)
# S4 method for class 'GCIMSChromatogramSet'
length(x)
# S4 method for class 'GCIMSChromatogramSet'
x[[i]]
# S4 method for class 'GCIMSChromatogramSet,ANY'
plot(x, color_by = "SampleID", ...)A GCIMSChromatogramSet object
A character vector of length the number of chromatograms with the new sample names
A GCIMSChromatogramSet object to plot
A number or a string with the sample index or name
The name of a pData(x) column (or "SampleID") used to
color the chromatograms
Ignored
A character vector with the sample names
The GCIMSChromatogramSet object, with samples renamed in both
chromatograms and pData()
A tibble with the phenotype data, or NULL if not set
An integer with the number of chromatograms
The GCIMSChromatogram of the requested sample
A ggplot2 plot object
sampleNames(GCIMSChromatogramSet): Get the sample names
sampleNames(object = GCIMSChromatogramSet) <- value: Set the sample names
pData(GCIMSChromatogramSet): Get the phenotype data
length(GCIMSChromatogramSet): Number of chromatograms (samples) in the set
[[: Extract the chromatogram of a single sample
plot(x = GCIMSChromatogramSet, y = ANY): plot method
chromatogramsA named list of GCIMSChromatogram objects, one per
sample, named after their SampleID.
pDataA DataFrame with the phenotype data, or NULL.
Other GCIMSChromatogram:
GCIMSChromatogram,
GCIMSChromatogram-class,
GCIMSChromatogramSet,
dtime,GCIMSChromatogram-method,
estimateBaseline,GCIMSChromatogram-method,
findPeaks,GCIMSChromatogram-method,
intensity,GCIMSChromatogram-method,
rtime,GCIMSChromatogram-method,
smooth,GCIMSChromatogram-method