kersplatEstLib: Estimate Kersplat library size parameters

View source: R/kersplat-estimate.R

kersplatEstLibR Documentation

Estimate Kersplat library size parameters

Description

Estimate the library size parameters for the Kersplat simulation

Usage

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


Oshlack/splatter documentation built on April 1, 2024, 9:37 a.m.