Mega2R: Accessing and Processing a 'Mega2' Genetic Database

Uses as input genetic data that have been reformatted and stored in a 'SQLite' database; this database is initially created by the standalone 'mega2' C++ program (available freely from <>). Loads and manipulates data frames containing genotype, phenotype, and family information from the input 'SQLite' database, and decompresses needed subsets of the genotype data, on the fly, in a memory efficient manner. We have also created several more functions that illustrate how to use the data frames as well as perform useful tasks: these permit one to run the 'pedgene' package to carry out gene-based association tests on family data using selected marker subsets, to run the 'SKAT' package to carry out gene-based association tests using selected marker subsets, to output the 'Mega2R' data as a VCF file and related files (for phenotype and family data), and to convert the data frames into 'GenABEL' objects.

Version: 1.0.0
Depends: R (≥ 3.3.3), GenABEL, SKAT, pedgene
Imports: AnnotationDbi, DBI, GenomeInfoDb, RSQLite, methods
LinkingTo: Rcpp
Suggests: knitr, rmarkdown, formatR, TxDb.Hsapiens.UCSC.hg19.knownGene,
Published: 2017-11-02
Author: Robert V. Baron [aut], Daniel E. Weeks [aut, cre], University of Pittsburgh [cph]
Maintainer: Daniel E. Weeks <weeks at>
License: GPL-2
NeedsCompilation: yes
Materials: NEWS
CRAN checks: Mega2R results


Reference manual: Mega2R.pdf
Vignettes: Mega2R Tutorial
Package source: Mega2R_1.0.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X El Capitan binaries: r-release: not available
OS X Mavericks binaries: r-oldrel: not available


Please use the canonical form to link to this page.