msms_align | R Documentation |
Locally align a pair of mass specs
msms_align( data1, data2, mass, alim = c(-1, 6), laglim = 0.3, by = 0.005, doplot = T, verbose = T )
data1 |
the first MS |
data2 |
the secon MS |
mass |
the mass around which to do the alighment |
alim |
the window around the mass, defaluts to [-1,6] |
laglim |
the largest permissable lag |
by |
the resampling rate, default value is 0.005 |
doplot |
whether to generate a plot of the alignment |
verbose |
whether to write messages whilst processing |
a dataframe holding the following fields:
lag |
The lag for sample 1 |
cor |
The correlation coefficient for sample 1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.