Plot counts
Usage
plotCounts(object, ...)
# S4 method for DESeqAnalysis
plotCounts(object, ..., samples = NULL, transform = FALSE)
# S4 method for DESeqDataSet
plotCounts(object, ...)
# S4 method for DESeqTransform
plotCounts(object, ...)
Arguments
- object
Object.
- ...
Additional arguments.
- samples
character
. Sample identifiers.- transform
logical(1)
. Plot log2 variance-stabilized transform counts, defined internally inDESeqTransform
object (seetransform
slot). IfFALSE
, plot the size factor adjusted counts fromDESeqDataSet
.
Value
style = "facet"
:ggplot
grouped bysampleName
, withggplot2::facet_wrap()
applied to panel the samples.style = "wide"
:ggplot
in wide format, with genes on the x-axis.
Functions
plotCounts(DESeqAnalysis)
: Plot eitherDESeqDataSet
normalized counts orDESeqTransform
log2 variance-stabilized counts.plotCounts(DESeqDataSet)
: Plot size factor (i.e. library size) adjusted normalized counts. Arguments pass through toSummarizedExperiment
method defined in AcidPlots package.plotCounts(DESeqTransform)
: Plot log2 variance-stabilized transformed counts.