pre_pamr: PAMR adapted dataset pre-processing

Description Usage Arguments Details Value Author(s) References See Also

View source: R/pamr.r

Description

The predict framework is designed to work with dataset where rows correspond to observations and columns to descriptors. PAMR wants it the other way, and also to have the fitting set response vector supplied in a list with the descriptors. This function applies a standard pre-processing function and then reformats the result to satisfy PAMR.

Usage

1

Arguments

data

Fitting and testing data sets, as returned by pre_split.

Details

pre_pamr must be run last if chained with other pre-processing functions, since it substantially reshapes the data.

Value

A list with fitting and testing sets, formatted the way pamr wants them.

Author(s)

Christofer Bäcklin

References

Robert Tibshirani, Trevor Hastie, Balasubramanian Narasimhan and Gilbert Chu (2002) Diagnosis of multiple cancer types by shrunken centroids of gene expression. URL www.pnas.org/cgi/doi/10.1073/pnas.082099299

See Also

emil, pre_process


emil documentation built on Aug. 1, 2018, 1:03 a.m.

Related to pre_pamr in emil...