zerosVsDepth: Percentage of zeros vs. library depth

zerosVsDepthR Documentation

Percentage of zeros vs. library depth

Description

Calculate and visualize the dropout rate.

Usage

zerosVsDepth(object, ...)

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

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

## S4 method for signature 'matrix'
zerosVsDepth(object)

## S4 method for signature 'sparseMatrix'
zerosVsDepth(object)

Arguments

object

Object.

assay

vector(1). Assay name or index position.

...

Additional arguments.

Value

matrix.

Note

Updated 2022-10-24.

Author(s)

Michael Steinbaugh, Rory Kirchner

Examples

data(SingleCellExperiment_splatter, package = "AcidTest")

## SingleCellExperiment ====
object <- SingleCellExperiment_splatter
df <- zerosVsDepth(object)
summary(df)
colnames(df)

acidgenomics/r-acidsinglecell documentation built on March 30, 2024, 5:39 a.m.