kersplatEstLib: Estimate Kersplat library size parameters

Description Usage Arguments Details Value

View source: R/kersplat-estimate.R

Description

Estimate the library size parameters for the Kersplat simulation

Usage

1
kersplatEstLib(counts, params, verbose)

Arguments

counts

counts matrix.

params

KersplatParams object to store estimated values in.

verbose

logical. Whether to print progress messages

Details

Parameters for the log-normal distribution are estimated by fitting the library sizes using fitdist. All the fitting methods are tried and the fit with the best Cramer-von Mises statistic is selected. The density of the library sizes is also estimated using density.

Value

KersplatParams object with library size parameters


splatter documentation built on Dec. 3, 2020, 2:01 a.m.