A list of two pieces of results:
1) ALLSPICE test results
2) effect size table: true effect size simulated, effect size estimate from linear model, effect size estimated from MLE
Arguments
n_ind
total number of individuals
n_var
total number of variants
c
slope between the two sets of variant effect sizes, only applicable when `null` == TRUE
r
phenotypic correlation between the two phenotypes
pi
probability of variant of having no effect on the phenotype
sigma
variance of the two sets of effect sizes
mle
whether to use MLE of c to compute the test statistic, use true c value if FALSE
null
whether to simulate data under the null hypothesis (no linear relationship) or the alternative hypothesis