calculateG | R Documentation |
Calculates the genetic component of the phenotype from a genotype.
calculateG(effectSize, X, model)
effectSize |
A vector with the effect size of each SNP. |
X |
Genotypes in a numeric matrix, where each row is a sample and each column a SNP. |
model |
Genetic model to assume. |
A vector with the genetic component of each sample.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.