Description Usage Arguments Value Author(s) Examples
A wrapper function of the stats::prcomp that takes an ExpressionSet or a matrix, calculates principal comonents, and merges the results with phenotype/clinical data (from ExpressionSet object).
1 | getPCAs(eset, maxpc = 3)
|
eset |
expressionSet or matrix of the epitope data, where samples are columns, and features are rows |
maxpc |
number of principal components in the output |
The function returns a list object with a data.frame, which consists of pricincipal components and phenotypic data (if eset instead of matrix was provided), and varex - proportion of variance explained by each component.
Maria Suprun, Randall J. Ellis, Mayte Suárez-Fariñas
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.