convert.gamma.parameters: Converts two different gamma parameterizations, one using...

View source: R/expression_fit.R

convert.gamma.parametersR Documentation

Converts two different gamma parameterizations, one using rate and shape (rateshape) and one using mean and sd (meansd)

Description

The distributions of the mean values are fitted using the rateshape version, the parameterization over the UMI counts is done using the meansd version.

Usage

convert.gamma.parameters(gamma.fits, type = "meansd")

Arguments

gamma.fits

Parameters from the fitted gamma function (mixture of two gamma components), either with mean and sd values or with rate and shape values

type

Way of conversion, either to meansd or to rateshape variant

Value

Converted parameters of the gamma function


heiniglab/scPower documentation built on Jan. 9, 2025, 12:13 p.m.