Combine two data with similar retention time while different mass range

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

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