dbmega2_import | R Documentation |
Read the fields of SQLite data base tables that are required for Mega2R into data frames. These data frames are stored in an 'environment' which is returned. This function also adds some state data, extra data frames, and computed data frames to the 'environment'.
dbmega2_import(dbname,
bpPosMap = NULL,
verbose = FALSE)
dbname |
file path to SQLite database. |
bpPosMap |
index that specifies which map in the map_table should be used for
marker chromosome/position. If it is NULL, the internal variable
base_pair_position_index is used instead.
|
verbose |
print out statistics on the name/size of each table read and show column headers. Also, save the verbose value for use by other Mega2R functions. |
envir an environment that contains all the data frames made from the SQLite database.
db = system.file("exdata", "seqsimm.db", package="Mega2R")
ENV = dbmega2_import(db, verbose = TRUE)
ENV = dbmega2_import(db)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.