simulate_indv_eqtl.Rd
Simulate individual-level eQTL data
simulate_indv_eqtl(
X,
h2,
n.causal.snps,
n.causal.genes,
pve.y.by.u0,
n.u0,
pve.u1.by.x,
pve.y.by.u1,
n.u1,
pve.interaction,
n.interaction,
n.genes,
n.covar.genes,
num.mixtures = 1,
resample.u0 = FALSE
)
genotype matrix (individual x SNPs)
heritability (proportion of variance of Y explained by genetic X)
X variables directly affecting on Y
Y variables directly regulated by X
proportion of variance of Y explained by U0
number of covariates on Y
proportion of variance of U1 explained by X
proportion of variance of Y explained by U1
number of covariates on Y
proportion of variance of Y explained by interaction
number of genes interacting with the causal genes
total number of genes (Y variables)
number of genes affected by covariates
num of cell mixtures
simulation results