Description Usage Arguments Details Value Examples
For internal use only. Performs Principal Componenent analysis.
1 2 3 | computePCsWithResampling(resampling, exp, shrink = FALSE,
method = c("regular", "topological", "sparse"), cliques = NULL,
maxPCs = 3)
|
resampling |
list of resampled columns |
exp |
a matrix |
shrink |
logical, whether to shrink or not. |
method |
one of 'regular', 'topological' and 'sparse' |
cliques |
the pathway topology summarized in a list of cliques |
maxPCs |
the maximum number of PCs to consider |
Three methods are implemented: * regular: a regular PCA ('prcomp') * topological: PCA using a pathway topology. * sparse: sparse PCA analysis implemented by 'elasticnet'
a list with the following elements:
x |
the computed PCs |
sdev |
the standard deviation captured by the PCs |
loadings |
the loadings |
1 2 | fakeExp <- randomExpression(4)
computePCs(t(fakeExp))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.