View source: R/Spectra_Utils.R
updateRawSpectraPath | R Documentation |
updateRawSpectraPath
updateRawSpectraPath(mSet, newPath)
mSet |
mSet object generated by ImportRawMSData or the following functions. |
newPath |
Character vector, a character vector specify the absolute path of the new raw spectra files. |
will return an mSet object with raw files' path updated
Zhiqiang Pang, Jeff Xia jeff.xia@mcgill.ca McGill University, Canada
data(mSet);
newPath <- dir(system.file("mzData", package = "mtbls2"),
full.names = TRUE, recursive = TRUE)[c(10, 11, 12)]
mSet <- updateRawSpectraPath(mSet, newPath);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.