kersplatEstBCV: Estimate Kersplat BCV parameters

View source: R/kersplat-estimate.R

kersplatEstBCVR Documentation

Estimate Kersplat BCV parameters

Description

Estimate Biological Coefficient of Variation (BCV) parameters for the Kersplat simulation

Usage

kersplatEstBCV(counts, params, verbose)

Arguments

counts

counts matrix.

params

KersplatParams object to store estimated values in.

verbose

logical. Whether to print progress messages

Details

The estimateDisp function is used to estimate the common dispersion across the dataset. An exponential correction is applied based on fitting an exponential relationship between simulated and estimated values. If this results in a negative dispersion a simpler linear correction is applied instead.

Value

KersplatParams object with estimated BCV parameters


Oshlack/splatter documentation built on Oct. 26, 2024, 11:48 a.m.