dbmega2_import() with the specified database and create an 'environment', with the
SQLite table data loaded into data frames.
mkfam() to create the pedigree data frame fam and then store it with
setfam() modifies the unified_genotype_table (and phenotype_table) to match the family members
specify SQLite database to load
additional arguments to pass to
an 'environment' that contains all the data frames created from the SQLite database.
mkfam will remove one of each
person that was replicated to break loops in the pedigree, see
mkfam for details.
If you want to leave loops broken, the code is available, but you will have to write your own
version of read.Mega2DB with a different invokation of
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.