CentroidCheck: CentroidCheck

Description Usage Arguments Value Author(s) Examples

View source: R/Spectra_import.R

Description

Verify the data is centroid or not

Usage

1
CentroidCheck(filename)

Arguments

filename

single file name, should contain the absolute path

Value

will output a logical value to indicate centroid (TRUE) or not (FALSE)

Author(s)

Zhiqiang Pang zhiqiang.pang@mail.mcgill.ca and Jeff Xia jeff.xia@mcgill.ca McGill University, Canada License: GNU GPL (>= 2)

Examples

1
2
3
DataFiles <- dir(system.file("mzData", package = "mtbls2"), full.names = TRUE,
                 recursive = TRUE)[c(10:11)] 
# sapply(DataFiles, CentroidCheck)

xia-lab/OptiLCMS documentation built on Sept. 6, 2021, 12:36 a.m.