plotZerosVsDepth | R Documentation |
Plot percentage of zeros vs. library depth
plotZerosVsDepth(object, ...)
## S4 method for signature 'SummarizedExperiment'
plotZerosVsDepth(
object,
assay = 1L,
interestingGroups = NULL,
pointAlpha = getOption(x = "acid.point.alpha", default = 0.9),
pointSize = getOption(x = "acid.point.size", default = 1L),
labels = list(title = "Zeros vs. depth", subtitle = NULL, x = "library size (depth)", y
= "dropout rate")
)
object |
Object. |
assay |
|
interestingGroups |
|
pointAlpha |
|
pointSize |
|
labels |
|
... |
Additional arguments. |
ggplot
.
Updated 2022-11-09.
data(
RangedSummarizedExperiment,
SingleCellExperiment_splatter,
package = "AcidTest"
)
## SummarizedExperiment ====
object <- RangedSummarizedExperiment
plotZerosVsDepth(object)
## SingleCellExperiment ====
object <- SingleCellExperiment_splatter
plotZerosVsDepth(object)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.