kersplatEstLib {splatter} | R 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

[Package splatter version 1.12.0 Index]