Description Usage Arguments Value Author(s) See Also Examples
View source: R/getScoresTable.R
Function getScoresTable takes an MAIT-class
object and returns a list with the scores of the features in the samples. Additionally, it returns the spectral ID of the peak and (optionally) a table containing the peak information (mass, retention time and annotation).
1 2 3 | getScoresTable(MAIT.object = NULL,
getSpectra = TRUE,
getExtendedTable = FALSE)
|
MAIT.object |
A MAIT-class object where significant features have already been found. |
getSpectra |
If it is set to TRUE, an element of the returned list will contain the spectra ID of each feature. |
getExtendedTable |
If it is set to TRUE, an element of the returned list will contain a table with peak information (mass, retention time, annotation, intensity per sample) |
A list containing:
scores: The intensity of each feature per sample
spectraID: A numeric with the correspondence between peaks and spectral ID
extendedTable: a data frame containg detailed peak information (mass, retention time, annotation, intensity per sample).
Francesc Fernandez, francesc.fernandez.albert@upc.edu
spectralTStudent
spectralAnova
1 2 3 | data(MAIT_sample)
MAIT<-spectralSigFeatures(MAIT,p.adj="fdr",parametric=TRUE)
getScoresTable(MAIT,getExtendedTable=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.