Description Usage Arguments Value Author(s) See Also Examples
Wrapper for DESeq2::plotPCA()
that improves principal component analysis
(PCA) sample coloring and labeling.
1 2 3 4 5 6 7 8 9 10 11 | ## S4 method for signature 'SummarizedExperiment'
plotPCA(object, genes = NULL,
samples = NULL, interestingGroups, color = scale_color_hue(),
label = FALSE, title = "pca", return = c("ggplot", "data.frame"))
## S4 method for signature 'DESeqDataSet'
plotPCA(object, ...)
## S4 method for signature 'bcbioRNASeq'
plotPCA(object, normalized = c("rlog", "vst", "tmm",
"tpm"), ...)
|
object |
Object. |
genes |
Character vector of genes to include. These must match the rownames of the object. It is best practice to use the stable gene identifiers from Ensembl (e.g. "ENSG00000000003") and not the gene symbols. |
samples |
Character vector of samples to include. |
interestingGroups |
Character vector denoting groups of interest that
define the samples. If left unset, defaults to |
color |
Desired ggplot color scale. Must supply discrete values. When
set to |
label |
Superimpose sample text labels on the plot. |
title |
Title of plot. |
return |
Object class to return. Uses |
... |
Additional arguments. |
normalized |
Character indicating which normalization method to apply:
|
ggplot
or data.frame
.
Michael Steinbaugh
DESeq2::plotPCA()
.
getMethod("plotPCA", "DESeqTransform")
Other Quality Control Functions: plot5Prime3PrimeBias
,
plotCorrelationHeatmap
,
plotCountDensity
,
plotCountsPerGene
,
plotDispEsts
,
plotExonicMappingRate
,
plotGenderMarkers
,
plotGeneSaturation
,
plotGenesDetected
,
plotIntronicMappingRate
,
plotMappedReads
,
plotMappingRate
, plotMeanSD
,
plotPCACovariates
,
plotRRNAMappingRate
,
plotTotalReads
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.