empirical_lambda: Estimate the dropout parameter

View source: R/mfa.R

empirical_lambdaR Documentation

Estimate the dropout parameter

Description

Estimate the dropout parameter

Usage

empirical_lambda(y, lower_limit = 0)

Arguments

y

A cell-by-gene expression matrix

lower_limit

The limit below which expression counts as 'dropout'

Value

The estimated lambda

Examples

synth <- create_synthetic(C = 20, G = 5, zero_negative = TRUE, model_dropout = TRUE)
lambda <- empirical_lambda(synth$X)

kieranrcampbell/mfa documentation built on March 27, 2022, 5:20 a.m.