Description Usage Arguments Value Note Author(s) References Examples
Called internally by normSpectra
. Evaluates the sum of all intensities (TIC) of each spectrum in a dataset. If the TIC of all spectra are not equal, their intensities are multiplied by a normalization factor. Once the TIC of each spectrum has been standardized, the intensity of each peak in all spectra are divided by the normalized TIC. The resulting spectra will have individual TICs of 1. Capable of normalizing 1-6 spectra at once.
1 | norm_rel_TIC(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.
normSpectra
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 the TIC of "Before1" and "Before2"
ex <- normSpectra(dat = Master2, mass_dat = "full_mz",
method = "rel_TIC", spectra_cols = c("Before1", "Before2"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.