simSNP: Simulated data of SNPs

Description Usage Format References


simSNP is a data.frame containing a bivariate outcome as in a case-control study, a continous covariate and 10 simulated SNPs. SNPs 1 and 2 have an interaction effect on the outcome. Penetrances are specified as in model 1 of Ritchie et al.(2003)

simSNPcont is a data.frame containing a continuous normally distributed outcome and 10 simulated SNPs, where SNPs 1 and 2 have an interaction effect on the outcome.




simSNP is a data frame with 400 observations on the following 12 variables.

Y Outcome: 1=case, 0=control
X Age
snp.1 SNP genotype data 1
snp.2 SNP genotype data 2
... .....
snp.10 SNP genotype data 10

SNP values are coded as: 0=common homozygous, 1=heterozygous, 2=variant homozygous.

simSNPcont has a continous outcome and the same SNPs.


Ritchie M.D., Hahn L.W., Moore J.H. (2003) Power of multifactor dimensionality reduction for detecting gene-gene interactions in the presence of genotyping error, missing data, phenocopy, and genetic heterogeneity. Genetic Epidemiology 24, 150-157

Search within the mbmdr package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.