splatPopConditionEffects: Assign Condition-specific eQTL and DEGs.

View source: R/splatPop-simulate.R

splatPopConditionEffectsR Documentation

Assign Condition-specific eQTL and DEGs.

Description

If nConditions > 1, n eSNP-eGene pairs (n = 'eqtl.condition.specific') are randomly assigned as condition specific.

Usage

splatPopConditionEffects(params, key, conditions)

Arguments

params

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

key

Partial splatPop key data.frame.

conditions

array of condition names

Value

The key updated with conditional eQTL and DE effects.


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