Description Usage Arguments Details Value Author(s) Examples
Compute mean spectrum of a set of spectra.
1 | aveSpec(nVec)
|
nVec |
A character vector of file names. |
'aveSpec' computes the point-wise mean of intensities of a set of spectra over the whole range of the m/z values.
A matrix with 2 columns, the first being the m/z values and the 2nd being the average of intensities corresponding to the m/z value in the first column of the same row.
Xiaochun Li
1 2 3 | testfs <- dir(system.file("Test", package = "PROcess"),
full.names=TRUE)
testAve <- aveSpec(testfs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.