Calculate and visualize the dropout rate.

zerosVsDepth(object, ...)

# S4 method for matrix
zerosVsDepth(object)

# S4 method for sparseMatrix
zerosVsDepth(object)

# S4 method for SummarizedExperiment
zerosVsDepth(object, assay = 1L)

# S4 method for SingleCellExperiment
zerosVsDepth(object, assay = 1L)

Arguments

object

Object.

assay

vector(1). Assay name or index position.

...

Additional arguments.

Value

matrix.

Note

Updated 2019-08-11.

Examples

data(SingleCellExperiment, package = "acidtest") sce <- SingleCellExperiment ## SingleCellExperiment ==== x <- zerosVsDepth(sce) summary(x)
#> [1] "DataFrame object of length 5 with 0 metadata columns"
#> [1] "sampleID" "dropout" "depth" #> [4] "sampleName" "interestingGroups"