Learn R Programming

Mega2R (version 1.0.2)

init_pedgene: load Mega2 SQLite database and perform initialization for pedgene usage

Description

This populates the R data frames from the specified Mega2 SQLite database. It then prunes the samples to only include members that have a definite case or control status. Undefined samples are ignored; this is necessary for CRAN pedgene.

Usage

init_pedgene(db = NULL, verbose = FALSE)

Arguments

db

specifies the path of a Mega2 SQLite database containing study data.

verbose

TRUE indicates that diagnostic printouts should be enabled. This value is saved in the returned environment.

Value

"environment" containing data frames from an SQLite database and some computed values.

See Also

DOpedgene, Mega2pedgene

Examples

Run this code
# NOT RUN {
db = system.file("exdata", "seqsimm.db", package="Mega2R")
ENV = init_pedgene(db)
ls(ENV)

# }

Run the code above in your browser using DataLab