demoMgDb <- get_demoMgDb()
# select taxa only
select(demoMgDb, type = "taxa",
keys = c("Vibrio", "Salmonella"),
keytype = "Genus")
# select seq only
select(demoMgDb, type = "seq",
keys = c("Vibrio", "Salmonella"),
keytype = "Genus")
# select all taxa, seq, and tree
select(demoMgDb, type = "all",
keys = c("Vibrio", "Salmonella"),
keytype = "Genus")
Run the code above in your browser using DataLab