getScoresTable {MAIT} | R Documentation |
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).
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
data(MAIT_sample) MAIT<-spectralSigFeatures(MAIT,p.adj="fdr",parametric=TRUE) getScoresTable(MAIT,getExtendedTable=TRUE)