CentroidCheck: CentroidCheck

View source: R/Spectra_import.R

CentroidCheckR Documentation

CentroidCheck

Description

Verify the data is centroid or not

Usage

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

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


xia-lab/OptiLCMS documentation built on March 27, 2024, 11:11 a.m.