Description Usage Arguments Value Author(s) Examples
View source: R/Spectra_import.R
Verify the data is centroid or not
1 | CentroidCheck(filename)
|
filename |
single file name, should contain the absolute path |
will output a logical value to indicate centroid (TRUE) or not (FALSE)
Zhiqiang Pang zhiqiang.pang@mail.mcgill.ca and Jeff Xia jeff.xia@mcgill.ca McGill University, Canada License: GNU GPL (>= 2)
1 2 3 | DataFiles <- dir(system.file("mzData", package = "mtbls2"), full.names = TRUE,
recursive = TRUE)[c(10:11)]
# sapply(DataFiles, CentroidCheck)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.