GeneEffects: Getting GeneEffects matrices

View source: R/GeneExpression_sim.R

GeneEffectsR Documentation

Getting GeneEffects matrices

Description

This function randomly generates the effect size of each cif on the dynamic expression parameters

Usage

GeneEffects(ngenes, ncif, randseed, prob, geffect_mean, geffect_sd)

Arguments

ngenes

number of genes

ncif

number of cifs

prob

the probability that the effect size is not 0

geffect_mean

the mean of the normal distribution where the non-zero effect sizes are dropped from

geffect_sd

the standard deviation of the normal distribution where the non-zero effect sizes are dropped from

randomseed

(should produce same result if ngenes, ncif and randseed are all the same)

Value

a list of 3 matrices, each of dimension ngenes * ncif


Galaxeee/TedSim documentation built on Oct. 2, 2022, 1:25 a.m.