plotTotalCounts | R Documentation |
Plot total read counts
plotTotalCounts(object, ...)
## S4 method for signature 'SingleCellExperiment'
plotTotalCounts(object, ...)
## S4 method for signature 'SummarizedExperiment'
plotTotalCounts(
object,
assay = 1L,
interestingGroups = NULL,
perMillion = FALSE,
labels = list(title = "Total counts", subtitle = NULL, x = NULL, y = "counts"),
flip = getOption(x = "acid.flip", default = TRUE)
)
object |
Object. |
... |
Additional arguments. |
assay |
|
interestingGroups |
|
perMillion |
|
labels |
|
flip |
|
ggplot
.
plotTotalCounts(SingleCellExperiment)
: Applies aggregateCellsToSamples()
calculation
to summarize at sample level prior to plotting.
Passes ...
to SummarizedExperiment
method.
Updated 2022-03-04.
data(
RangedSummarizedExperiment,
SingleCellExperiment_splatter,
package = "AcidTest"
)
## SummarizedExperiment ====
object <- RangedSummarizedExperiment
plotTotalCounts(object)
## SingleCellExperiment ====
object <- SingleCellExperiment_splatter
plotTotalCounts(object)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.