R/xcmsSource.R

## Methods related to xcmsSource
#' @include AllGenerics.R DataClasses.R

setMethod("xcmsSource", "character", function(object, filetype = character()) {
    if (!file.exists(object))
        stop("xcmsSource: file not found: ", object)
    return(new("xcmsFileSource", object))
})
xiaodfeng/DynamicXCMS documentation built on Aug. 6, 2023, 3:02 p.m.