newMgDb: MgDb

Description Usage Arguments Value Examples

View source: R/mgDb-class.R

Description

MgDb

Usage

1
newMgDb(db_file, tree, metadata)

Arguments

db_file

SQLite filename with database taxonomy and sequence data

tree

newick filename with database tree data

metadata

list with database metadata

Value

MbDb class object

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
metadata_file <- system.file("extdata", 'gg13.8_85_metadata.RData',
    package = "metagenomeFeatures")
load(metadata_file)

gg_db_file <- system.file("extdata", 'gg13.8_85.sqlite',
                          package = "metagenomeFeatures")

gg_tree_file <- system.file("extdata", "gg13.8_85.tre",
                            package = "metagenomeFeatures")

## Creating a new MgDb class object with gg13.8_85 data
newMgDb(db_file = gg_db_file,
        tree = gg_tree_file,
        metadata =  metadata)

metagenomeFeatures documentation built on Nov. 8, 2020, 5:18 p.m.