getScoresTable: Returns a list with the peak scores, masses, retention time...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/getScoresTable.R

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

1
2
3
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

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

MAIT documentation built on Nov. 8, 2020, 5:43 p.m.