splatEstLib: Estimate Splat library size parameters

View source: R/splat-estimate.R

splatEstLibR Documentation

Estimate Splat library size parameters

Description

The Shapiro-Wilks test is used to determine if the library sizes are normally distributed. If so a normal distribution is fitted to the library sizes, if not (most cases) a log-normal distribution is fitted and the estimated parameters are added to the params object. See fitdist for details on the fitting.

Usage

splatEstLib(counts, params)

Arguments

counts

counts matrix to estimate parameters from.

params

splatParams object to store estimated values in.

Value

SplatParams object with estimated values.


Oshlack/splatter documentation built on May 8, 2024, 5:33 a.m.