Description Usage Arguments Value Author(s) References See Also Examples
Called internally by normSpectra
. Normalizes the intensity data of spectra to a scale of 0,1. Capable of normalizing 1-6 spectra, to their individual maxima, at once.
1 | norm_max(dat, mass_dat, spectra_cols)
|
dat |
The name of the spectral data frame, containing |
mass_dat |
A character string; the name of the column in |
spectra_cols |
A character string; the names of the column in |
Returns a new data frame including the original m/z data and normalized intensity data.
Kristen Yeh <kristenyeh@trentu.ca> Wesley Burr <wesleyburr@trentu.ca>
https://github.com/wesleyburr/subMaldi
1 2 3 4 5 6 | ## Load sample dataset "Master2.rda"
data("Master2")
## Normalize intensity data for three spectra
normSpectra(dat = Master2, mass_dat = "full_mz", method = "max",
spectra_cols = c("Blank1", "Before1", "After1"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.