Description Usage Arguments Value
Calculate the association between genotypes and a phenotype, adjusting by covariates.
1 2 3 4 5 6 |
covars |
A data frame with the covariates. It must contain a column 'sample' containing the sample IDs, and an additional columns for each covariate. |
score |
String with the association test to perform. Possible values: chi2, glm. |
genotypes |
A SnpMatrix object with the genotype information. |
phenotypes |
A numeric vector with the phenotypes. |
A named vector with the association scores.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.