explorePCVariability | R Documentation |
Compute and plot the results of a PCA analysis on gene expression data
explorePCVariability(edata, annots, ...)
## S4 method for signature 'DGEList'
explorePCVariability(edata, annots, maxdim = 25, precomputed = NULL, ...)
## S4 method for signature 'ExpressionSet'
explorePCVariability(edata, annots, maxdim = 25, precomputed = NULL, ...)
## S4 method for signature 'SummarizedExperiment'
explorePCVariability(
edata,
annots,
assay = 1,
maxdim = 25,
precomputed = NULL,
...
)
edata |
a DGEList, SummarizedExperiment or ExpressionSet object containing gene expression data. |
annots |
variables to assess for contributions in each PC. ANOVA is used for categorical variables and linear models for continuous variables. |
... |
aesthetic mappings to pass to 'ggplot2::aes_string()'. |
maxdim |
a numeric, specifying the maximum number of dimensions to plot. |
precomputed |
a dimensional reduction results from 'stats::prcomp'. |
assay |
a numeric or character, specifying the assay to use (for SummarizedExperiment). |
a 'Heatmap-class' object.
se = emtdata::cursons2015_se()
dge = emtdata::asDGEList(se)
explorePCVariability(dge, c(Subline, Treatment, lib.size))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.