escoEstOutlier: Estimate esco expression outlier parameters for a single cell...

Description Usage Arguments Details Value

View source: R/esco-estimate.R

Description

Parameters are estimated by comparing means of individual genes to the median mean expression level.

Usage

1
escoEstOutlier(norm.counts, params)

Arguments

norm.counts

library size normalised counts matrix.

params

escoParams object to store estimated values in.

Details

Expression outlier genes are detected using the Median Absolute Deviation (MAD) from median method. If the log2 mean expression of a gene is greater than two MADs above the median log2 mean expression it is designated as an outlier. The proportion of outlier genes is used to estimate the outlier probability. Factors for each outlier gene are calculated by dividing mean expression by the median mean expression. A log-normal distribution is then fitted to these factors in order to estimate the outlier factor location and scale parameters using fitdist.

Value

escoParams object with estimated values.


JINJINT/ESCO documentation built on May 13, 2021, 7:25 p.m.