R/00xcmsSource-class.R

setClass("xcmsSource", representation("VIRTUAL"))
setGeneric("loadRaw", function(object, ...) standardGeneric("loadRaw"))
setGeneric("xcmsSource", function(object, ...) standardGeneric("xcmsSource"))

## If given an xcmsSource object, simply return it unchanged
setMethod("xcmsSource", "xcmsSource", function(object) object)
benjiec/xcms documentation built on May 12, 2019, 11:57 a.m.