splatPopAssignMeans {splatter} | R 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.

[Package splatter version 1.14.1 Index]