Combine two data with similar retention time while different mass range
cbmd(data1, data2, mzstep = 0.1, rtstep = 0.01)
data file path of lower mass range
data file path of higher mass range
the m/z step for generating matrix data from raw mass spectral data
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
matrix with the row as scantime in second and column as m/z
if (FALSE) {
# mz100_200 and mz201_300 were the path to the raw data
matrix <- getmd(mz100_200,mz201_300)
}