Description Usage Arguments Author(s)
View source: R/general_proc_utils.R
This function sets up a MS spectra data matrix using the 'groupval' function from XCMS. This generates a usable matrix of peak values for analysis where columns represent peak groups and rows represent samples. Collisions where more than one peak from a single sample are in the same group get resolved utilizing "medret", which uses the peak closest to the median retention time.
1 | SetupMSdataMatrix(mSetObj, intvalue)
|
mSetObj |
Input the name of the created mSetObj (see InitDataObjects) |
intvalue |
name of peak column to enter into the returned matrix, if intvalue = 'into', use integrated area of original (raw) peak intensities, if intvalue = 'intf', use integrated area of filtered peak intensities, if intvalue = 'intb', use baseline corrected integrated peak intensities, if intvalue = 'maxo', use the maximum intensity of original (raw) peaks, or if intvalue = 'maxf' use the maximum intensity of filtered peaks |
Jeff Xia jeff.xia@mcgill.ca McGill University, Canada License: GNU GPL (>= 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.