Description Usage Arguments Value
Given a pair of SNPs, fit a model using single and collapsed genotypes
1 | rep_models(mat, snp1, snp2, pheno_name, covar_names)
|
mat |
A data frame containing a collection of single SNP genotypes, SNP names should be column names. |
snp1 |
Character.Name of first SNP |
snp2 |
Character.Name of second SNP |
pheno_name |
Character. Name of phenotype. |
covar_names |
Character. Vector of names of covariates. |
A data frame with five columns: snp1, snp2, p1 (p value of snp1), p2 (pvalue of snp2) and pcol (p value of collapsed genotype).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.