Description Usage Arguments Value Author(s) See Also Examples
Plot DEG PCA
1 2 3 4 5 6 7 8 9 10 11 12 13 | plotDEGPCA(results, counts, ...)
## S4 method for signature 'DESeqResults,SummarizedExperiment'
plotDEGPCA(results, counts,
interestingGroups, alpha, lfcThreshold = 0L, color = scale_color_hue(),
label = FALSE, title = "deg pca", return = c("ggplot", "data.frame"))
## S4 method for signature 'DESeqResults,DESeqDataSet'
plotDEGPCA(results, counts, ...)
## S4 method for signature 'DESeqResults,bcbioRNASeq'
plotDEGPCA(results, counts,
normalized = c("rlog", "vst", "tmm", "tpm"), ...)
|
results |
|
counts |
Object containing a normalized counts matrix. |
... |
Additional arguments. |
interestingGroups |
Character vector denoting groups of interest that
define the samples. If left unset, defaults to |
alpha |
Adjusted P value ("alpha") cutoff. |
lfcThreshold |
Log fold change ratio (base 2) cutoff threshold. |
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 |
normalized |
Character indicating which normalization method to apply:
|
ggplot
or data.frame
.
Michael Steinbaugh
Other Differential Expression Functions: alphaSummary
,
contrastName
, plotDEGHeatmap
,
plotMeanAverage
, plotVolcano
,
resultsTables
1 2 3 4 5 6 7 8 9 10 11 12 13 | # DESeqResults, SummarizedExperiment ====
plotDEGPCA(
results = res_small,
counts = rld_small,
label = TRUE
)
# DESeqResults, bcbioRNASeq ====
plotDEGPCA(
results = res_small,
counts = bcb_small,
label = TRUE
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.