Learn R Programming

enviGCMS (version 0.7.1)

cbmd: Combine two data with similar retention time while different mass range

Description

Combine two data with similar retention time while different mass range

Usage

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

Value

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

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

Examples

Run this code
if (FALSE) {
# mz100_200 and mz201_300 were the path to the raw data
matrix <- getmd(mz100_200,mz201_300)
}

Run the code above in your browser using DataLab