GenCovar {AllelicSeries} | R Documentation |
Generate an (n x 6) covariate matrix with columns representing an intercept, age, sex, and 3 genetic PCs. Because these simulations address rare variant analysis, correlation between genotypes and the genetic PCs (based on common variants) is unnecessary.
GenCovar(n)
n |
Sample size. |
(n x 6) numeric matrix.