escoEstGroupLib: Estimate esco library size parameters for discrete cell...

Description Usage Arguments Value

View source: R/esco-estimate.R

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. Specifically, for a cell group, the fitting process uses only the cell samples within this cell group. See fitdist for details on the fitting.

Usage

1
escoEstGroupLib(counts, cellinfo = NULL, params)

Arguments

counts

counts matrix to estimate parameters from.

cellinfo

a vector of length n, where n is the number of cells. Each entries is the group identity of a cell.

params

escoParams object to store estimated values in.

Value

escoParams object with estimated values.


JINJINT/splattermodify documentation built on May 19, 2021, 4:05 p.m.