mzData | R Documentation |
This retrieves feature m/z values from one or all constituent
datasets of a metabCombiner
object. Alternatively, the average
m/z value can be retrieved.
mzData(object, data = NULL, value = c("obs", "mean"))
## S4 method for signature 'metabCombiner'
mzData(object, data = NULL, value = c("observed", "mean"))
object |
|
data |
dataset identifier to extract information from; if NULL, extracts data frame information from all datasets |
value |
Either "obs" (observed - default option) or "mean" value |
data frame of m/z values (if NULL) or single vector of m/z values
data(plasma30) data(plasma20)
p30 <- metabData(head(plasma30,500), samples = "CHEAR") p20 <- metabData(head(plasma20,500), samples = "Red") p.comb <- metabCombiner(p30, p20, xid = "p30", yid = "p20")
##retrieve all m/z mzd <- mzData(p.comb, data = NULL)
##retrieve m/z from p30 mzd <- mzData(p.comb, data = "p30")
##retrieve mean m/z mzd <- mzData(p.comb, value = "mean")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.