risk_simulation: Make simulation to compare disease and liability scales

View source: R/risk.r

risk_simulationR Documentation

Make simulation to compare disease and liability scales

Description

Compares the liability and probability of disease under two scenarios - where all SNPs are known, and where only some SNPs are known

Usage

risk_simulation(G, eff, prevalence, prop_discovered)

Arguments

G

Matrix of genotypes

eff

SNP effects on liability scale

prevalence

Disease prevalence

prop_discovered

Proportion of SNPs discovered

Value

Data frame


explodecomputer/simulateGP documentation built on April 3, 2024, 2:38 a.m.