plotCounts | R Documentation |
Plot counts
plotCounts(object, ...)
## S4 method for signature 'DESeqAnalysis'
plotCounts(object, ..., samples = NULL, transform = FALSE)
## S4 method for signature 'DESeqDataSet'
plotCounts(object, ...)
## S4 method for signature 'DESeqTransform'
plotCounts(object, ...)
object |
Object. |
... |
Additional arguments. |
samples |
|
transform |
|
style = "facet"
: ggplot
grouped by sampleName
, with
ggplot2::facet_wrap()
applied to panel the samples.
style = "wide"
: ggplot
in wide format, with genes on the x-axis.
plotCounts(DESeqAnalysis)
: Plot either DESeqDataSet
normalized counts or
DESeqTransform
log2 variance-stabilized counts.
plotCounts(DESeqDataSet)
: Plot size factor (i.e. library size) adjusted
normalized counts. Arguments pass through to SummarizedExperiment
method
defined in AcidPlots package.
plotCounts(DESeqTransform)
: Plot log2 variance-stabilized transformed counts.
Updated 2021-03-15.
DESeq2::plotCounts
.
data(deseq)
## Get genes from working example.
genes <- head(rownames(as(deseq, "DESeqDataSet")))
print(genes)
## DESeqAnalysis ====
plotCounts(deseq, genes = genes, style = "facet")
plotCounts(deseq, genes = genes, style = "wide")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.