splatPopEstimateMeanCV: Estimate gene mean and gene mean variance parameters

Description Usage Arguments Details Value

View source: R/splatPop-estimate.R

Description

Estimate gene mean and gene mean variance parameters

Usage

1
splatPopEstimateMeanCV(params, means)

Arguments

params

SplatPopParams object containing parameters for the simulation of the mean expression levels for the population. See SplatPopParams for details.

means

data.frame of real gene means across a population, where each row is a gene and each column is an individual in the population.

Details

Parameters for the mean gamma distribution are estimated by fitting the mean (across the population) expression of genes that meet the criteria (<50 samples have exp <0.1) and parameters for the cv gamma distribution are estimated for each bin of mean expression using the cv of expression across the population for genes in that bin. Both are fit using fitdist. The "Nelder-Mead" method is used to fit the mean gamma distribution and the maximum goodness-of-fit estimation method is used to minimise the Cramer-von Mises distance for the CV distribution.

Value

params object with estimated values.


splatter documentation built on Dec. 3, 2020, 2:01 a.m.