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))
})
anupbharade09/xcms_test documentation built on May 14, 2019, 4:07 a.m.