splatPopGroupEffects: Assign group-specific eQTL and DEGs.

View source: R/splatPop-simulate.R

splatPopGroupEffectsR Documentation

Assign group-specific eQTL and DEGs.

Description

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

Usage

splatPopGroupEffects(params, key, groups)

Arguments

params

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

key

Partial splatPop key data.frame.

groups

array of group names

Value

The key updated with group eQTL and DE effects.


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