discoPCA | R Documentation |
Calculates PCA results from prcomp
with error handling and outputs
suitable for the DiscoRhythm workflow.
discoPCA(se, scale = TRUE, npcs = 10)
se |
SummarizedExperiment, the main data object used by DiscoRhythm expected to contain se$ID, se$ReplicateID, se$Time sample metadata and non-null rownames. See the vignette for more details. |
scale |
logical, whether or not to scale the data prior to PCA, see prcomp for more details. |
npcs |
numeric, maximum number of principal components to return. |
output from prcomp with an added table summary
se <- discoGetSimu(TRUE) pca <- discoPCA(se)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.