Description Usage Arguments Details Value Author(s) Examples
Read mzXML files.
1 |
fns |
|
scanCounts |
|
starts |
|
ends |
|
The peak intensities are normalised to the maximal intensity of 100 within eahc file.
When starts
and ends
are NULL, a list of matrix
with
intensities will be returned.
When they are given, a data.frame
of the added intensities
within the ranges will be returned.
Yang Yang
1 2 3 4 5 6 7 8 9 10 11 | mzFns <- system.file(c("threonine/threonine_i2_e35_pH_tree.mzXML",
"lockmass/LockMass_test.mzXML"),
package = "msdata")
## Read all the mzXML data
allIntensities <- readMZ(mzFns)
## Read the peaks data within certain ragnges
starts <- c(50, 70, 80)
ends <- c(55, 75, 85)
rangedIntensities <- readMZ(mzFns, starts=starts, ends=ends)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.