risk_simulation | R Documentation |
Compares the liability and probability of disease under two scenarios - where all SNPs are known, and where only some SNPs are known
risk_simulation(G, eff, prevalence, prop_discovered)
G |
Matrix of genotypes |
eff |
SNP effects on liability scale |
prevalence |
Disease prevalence |
prop_discovered |
Proportion of SNPs discovered |
Data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.