poissonDispersion: Poisson Dispersion

View source: R/poisson_dispersion.R

poissonDispersionR Documentation

Poisson Dispersion

Description

Poisson Dispersion

Usage

poissonDispersion(y, rate = NULL, n = NULL)

Arguments

y

Sparse matrix (can be a matrix, dgCMatrix, or SparseMatrix).

rate

Row-wise rates.

n

Total counts in each column.

Value

Row-wise Poisson dispersion

Examples

data("tenx_subset")
disp <- poissonDispersion(tenx_subset)
hist(disp, nclass = 50)

rafalab/smallcount documentation built on June 1, 2025, 2:10 p.m.