stabilize {spatialDE}R Documentation

Stabilize variance of counts

Description

Stabilize variance of negative binomial data using Anscombe's approximation. This function is a wrapper for stabilize from the NaiveDE Python package.

Usage

stabilize(counts)

Arguments

counts

matrix with expression values for samples in columns and genes in rows.

Value

matrix of variance stabilized counts.

Examples

set.seed(42)
mock <- mockSVG(10, 1000, 10)
stabilized <- stabilize(mock$counts)

[Package spatialDE version 1.0.0 Index]