updateRawSpectraPath: updateRawSpectraPath

Description Usage Arguments Value Author(s) Examples

View source: R/Spectra_Utils.R

Description

updateRawSpectraPath

Usage

1

Arguments

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.

Value

will return an mSet object with raw files' path updated

Author(s)

Zhiqiang Pang, Jeff Xia jeff.xia@mcgill.ca McGill University, Canada

Examples

1
2
3
4
data(mSet);
newPath <- dir(system.file("mzData", package = "mtbls2"),
               full.names = TRUE, recursive = TRUE)[c(10, 11, 12)]
mSet <- updateRawSpectraPath(mSet, newPath);

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