Description Usage Arguments Value Examples
estimate the additive effect of each SNP upon a trait (i.e. quick GWAS). SNPs are provided in a genotype matrix.
1 | est_SNPeffects(phenodata, genomat, valset, fixmat = NULL, method = "emmax")
|
phenodata |
data frame with 2 columns. One col must be named 'ID' and contain sample IDs. Another column must be named 'y' and contain the phenotypes. Defaults to NULL. |
genomat |
matrix of genotypes in -1,0,1 format (i.e. 0 is heterozygous, 1 and -1 are opposing homozygous states) |
valset |
vector of indices Defaults to NULL. |
a vector of squared SNP effects, one per SNP in genomat
, estimated with the EMMAX GWAS method from the cpgen package.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.