The function takes in simulated genotypes and trait and outputs summary statistics for associations.

regress(Z, pheno)

Arguments

Z

matrix, simulated genotypes

pheno

vector, trait

Value

data frame of effect sizes, standard errors and P-values of associations