require(methods) || stop("Couldn't load package methods")
setClass("xcmsRaw", representation(env = "environment", tic = "numeric",
scantime = "numeric", scanindex = "integer",
polarity = "factor",
acquisitionNum = "integer",
profmethod = "character", profparam = "list",
mzrange = "numeric", gradient = "matrix",
msnScanindex = "integer",
msnAcquisitionNum = "integer",
msnPrecursorScan = "integer",
msnLevel = "integer",
msnRt = "numeric",
msnPrecursorMz = "numeric",
msnPrecursorIntensity = "numeric",
msnPrecursorCharge = "numeric",
msnCollisionEnergy = "numeric",
filepath = "xcmsSource"),
prototype(env = new.env(parent=.GlobalEnv), tic = numeric(0),
scantime = numeric(0), scanindex = integer(0),
polarity = factor(integer(0)),
acquisitionNum = integer(0),
profmethod = "bin", profparam = list(),
mzrange = numeric(0),
gradient = matrix(nrow=0, ncol=0),
msnScanindex = integer(0),
msnAcquisitionNum = integer(0),
msnLevel = integer(0),
msnRt = numeric(0),
msnPrecursorScan = integer(0),
msnPrecursorMz = numeric(0),
msnPrecursorIntensity = numeric(0),
msnPrecursorCharge = numeric(0),
msnCollisionEnergy = numeric(0)
))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.