Calculate upper bound from Frechet fit

get_upper_bound(fit_fr, ...)

Arguments

fit_fr

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

...

additional arguments are ignored.

Value

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

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)

See also

Other SALSA support functions: get_lower_bound, get_salsa_steps