Skip to contents

Extracts the JSD between components 2 (non-specific binding) and 3 (signal) from the fitted model parameters stored in a BgnormResult object.

Usage

jsd_qc(result)

Arguments

result

A BgnormResult object returned by bgnorm_pixels or bgnorm_cells.

Value

Named numeric scalar jsd.

Examples

set.seed(1)
x   <- c(exp(rnorm(300, log(300), 0.5)), exp(rnorm(100, log(2000), 0.9)))
res <- bgnorm_cells(x)
jsd_qc(res)
#> [1] 0.690225