splatPopAssignMeans: Sample expression mean and variance for each gene

View source: R/splatPop-simulate.R

splatPopAssignMeansR Documentation

Sample expression mean and variance for each gene

Description

A mean and coefficient of variation is assigned to each gene by sampling from gamma distributions parameterized from real data in 'splatPopEstimate'. The cv gamma distributions are binned by gene mean because the distribution of variance in real data is not independent from the mean. The degree of similarity between individuals can be further tuned using the similarity.scale parameter in 'SplatPopParams'.

Usage

splatPopAssignMeans(params, key)

Arguments

params

SplatPopParams object containing parameters for population scale simulations. See SplatPopParams for details.

key

Partial splatPop key data.frame.

Value

The key updated with assigned means and variances.


Oshlack/splatter documentation built on Dec. 10, 2024, 3:48 p.m.