splatPopSimGeneMeans: Simulate gene means for splatPop

Description Usage Arguments Value

View source: R/splatPop-simulate.R

Description

Simulate outlier expression factors for splatPop. Genes with an outlier factor not equal to 1 are replaced with the median mean expression multiplied by the outlier factor.

Usage

1
splatPopSimGeneMeans(sim, params, base.means.gene)

Arguments

sim

SingleCellExperiment to add gene means to.

params

SplatParams object with simulation parameters.

base.means.gene

List of gene means for sample from matrix generated by 'splatPopSimulateMeans' and with the sample specified in 'splatPopSimulateSC'.

Value

SingleCellExperiment with simulated gene means.


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