cbmd: Combine two data with similar retention time while different...

Description Usage Arguments Value Examples

View source: R/general.R

Description

Combine two data with similar retention time while different mass range

Usage

1
cbmd(data1, data2, mzstep = 0.1, rtstep = 0.01)

Arguments

data1

data file path of lower mass range

data2

data file path of higher mass range

mzstep

the m/z step for generating matrix data from raw mass spectral data

rtstep

the alignment accuracy of retention time, e.g. 0.01 means the retention times of combined data should be the same at the accuracy 0.01s. Higher rtstep would return less scans for combined data

Value

matrix with the row as scantime in second and column as m/z

Examples

1
2
3
4
5
## Not run: 
# mz100_200 and mz201_300 were the path to the raw data
matrix <- getmd(mz100_200,mz201_300)

## End(Not run)

enviGCMS documentation built on April 26, 2018, 1:04 a.m.