Description Usage Arguments Value Author(s) References See Also Examples
This function takes the intensity values in the blank column of the mapped spectral data frame and subtracts them from the intensity values in the sample column. If the intensity value in the blank spectrum is greater than that in the sample spectrum, the intensity of the sample peak is given an intensity of 0.
1 | subSpectra(dat, Blank_Var, Sample, Sub_Sample, showNeg = FALSE)
|
dat |
The spectral data frame, containing |
Blank_Var |
A character string; the name of the blank column that will be subtracted from the sample column. |
Sample |
A character string; the name of the sample column that the blank data will be subtracted from. |
Sub_Sample |
A character string; the name of the column to be filled with the subtracted spectrum. |
showNeg |
Logical; if |
Returns a vector of intensity values that are filled into the
Sub_Sample
column of the mapped data frame at the corresponding rows
of full_mz
.
Kristen Yeh <kristenyeh@trentu.ca> Wesley Burr <wesleyburr@trentu.ca>
https://github.com/wesleyburr/subMaldi
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.