fitGammaRt: Fitting a Gamma distribution to global cell-to-cell...

View source: R/VarID_functions.R

fitGammaRtR Documentation

Fitting a Gamma distribution to global cell-to-cell variability

Description

This function fits a Gamma distribution to the total transcript counts distribution across a given group of cells. Total transcript counts are normalized by the mean total transcript count across the group. This function is used to infer a Gamma distribution of the global cell-to-cell variability across pruned nearest neighbourhoods.

Usage

fitGammaRt(x)

Arguments

x

Transcript count matrix with cells as columns and genes as rows.

Value

Shape parameter of the Gamma distribution. This parameter corresponds to the dispersion explained by the global cell-to-cell variability of UMI counts in a negative binomial model.


RaceID documentation built on Sept. 28, 2023, 5:06 p.m.