get_upper_bound: Calculate upper bound from Frechet fit

Description Usage Arguments Details Value See Also

Description

Calculate upper bound from Frechet fit

Usage

1

Arguments

fit_fr

fitdist object output from fitdist_fr(), or numeric vector with names "shape", "scale".

...

additional arguments are ignored.

Details

This function takes the output from fitdist_fr() and calculates the associated predicted upper bound for number of UMI to accept for downstream analysis of scRNA-seq data.

The equation:

scale + 2 * shape * scale * (base::gamma(1 - (1 / shape)) - 1)

Value

numeric value representing the highest number of UMI to accept for downstream analysis of scRNA-seq data.

See Also

Other SALSA support functions: get_lower_bound, get_salsa_steps


jmw86069/salsa documentation built on May 21, 2019, 10:31 a.m.