accessors | R Documentation |
MS2spectrum
and
pseudospectrum
objectsAccessor functions for individual slots of
MS2spectrum
and
pseudospectrum
objects
accessID(x) accessAnnotation(x) accessPrecursor(x) accessRT(x) accessPolarity(x) accessSpectrum(x) accessNeutralLosses(x)
x |
An object of class |
The value of the respective slot of the object
(id
, annotation
, precursor
,
rt
, spectrum
, neutral_losses
)
load(file = system.file("extdata", "annotatedSpeclist.RData", package = "CluMSIDdata")) accessID(annotatedSpeclist[[1]]) load(file = system.file("extdata", "annotatedSpeclist.RData", package = "CluMSIDdata")) accessAnnotation(annotatedSpeclist[[1]]) load(file = system.file("extdata", "annotatedSpeclist.RData", package = "CluMSIDdata")) accessPrecursor(annotatedSpeclist[[1]]) load(file = system.file("extdata", "annotatedSpeclist.RData", package = "CluMSIDdata")) accessRT(annotatedSpeclist[[1]]) load(file = system.file("extdata", "annotatedSpeclist.RData", package = "CluMSIDdata")) accessPolarity(annotatedSpeclist[[1]]) load(file = system.file("extdata", "annotatedSpeclist.RData", package = "CluMSIDdata")) accessSpectrum(annotatedSpeclist[[1]]) load(file = system.file("extdata", "annotatedSpeclist.RData", package = "CluMSIDdata")) accessNeutralLosses(annotatedSpeclist[[1]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.