getScoresTable {MAIT}R Documentation

Returns a list with the peak scores, masses, retention time and other information

Description

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).

Usage


getScoresTable(MAIT.object = NULL,
             getSpectra = TRUE,
             getExtendedTable = FALSE)

Arguments

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)

Value

A list containing:

Author(s)

Francesc Fernandez, francesc.fernandez.albert@upc.edu

See Also

spectralTStudent spectralAnova

Examples

data(MAIT_sample)
MAIT<-spectralSigFeatures(MAIT,p.adj="fdr",parametric=TRUE)
getScoresTable(MAIT,getExtendedTable=TRUE)

[Package MAIT version 1.26.0 Index]