empirical_lambda: Estimate the dropout parameter

Description Usage Arguments Value Examples

View source: R/mfa.R

Description

Estimate the dropout parameter

Usage

1
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

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

mfa documentation built on Nov. 8, 2020, 8:10 p.m.