Description Usage Arguments Value Author(s) References Examples
Analyzes spectral data and returns information about the most intense peak in all of the spectral set. Indicates the most intense spectrum, the m/z value, and intesnity of the maximum. User must specify at least two spectra.
1 | find_max_set(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 vector; the names of the column in
|
Returns a data frame indidcating the peak maximum of the spectral set. The sample number, m/z value, and intensity data are returned.
Kristen Yeh <kristenyeh@trentu.ca> Wesley Burr <wesleyburr@trentu.ca> Sophie Castel <sophie.castel@ontariotechu.net>
https://github.com/wesleyburr/subMaldi
1 2 3 4 5 6 | ## Load sample dataset "Master.rda"
data("Master")
## Find the most intense peak of six spectra
find_max_set(dat = Master, mass_dat = "full_mz", spectra_cols = c("After1", "Blank2",
"Before1", "Blank1", "After2", "Before2"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.