Learn R Programming

Seurat (version 5.0.3)

CalcDispersion: Calculate dispersion of features

Description

Calculate dispersion of features

Usage

CalcDispersion(
  object,
  mean.function = FastExpMean,
  dispersion.function = FastLogVMR,
  num.bin = 20,
  binning.method = "equal_width",
  verbose = TRUE,
  ...
)

Arguments

object

Data matrix

mean.function

Function to calculate mean

dispersion.function

Function to calculate dispersion

num.bin

Number of bins to use

binning.method

Method to use for binning. Options are 'equal_width' or 'equal_frequency'

verbose

Display progress