init_pedgene | R Documentation |
This populates the R data frames from the specified Mega2 SQLite database.
init_pedgene(db = NULL, verbose = FALSE, traitname = "default", ...)
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. |
traitname |
Name of the affection status trait to use to set the case/control status; default value = "default". |
... |
fed to dbmega2_import(); should be bpPosMap= to select from the maps of base pairs, if the default is not desired. |
"environment" containing data frames from an SQLite database and some computed values.
init_pedgene calculates schaidPed and pedPer that are used later in the Dopedgene calculation. In addition, it initializes a matrix to aid in translating a genotype allele matrix to a genotype count matrix.
It also initializes the dataframe envir$pedgene_results to zero rows.
DOpedgene
, Mega2pedgene
, mkfam
db = system.file("exdata", "seqsimm.db", package="Mega2R")
ENV = init_pedgene(db, traitname = "default")
ls(ENV)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.