## ------------------------------------------------------------------------ library(metagenomeFeatures) gg85 <- get_gg13.8_85MgDb() gg85 ## ------------------------------------------------------------------------ taxa_keytypes(gg85) ## ------------------------------------------------------------------------ taxa_columns(gg85) ## ------------------------------------------------------------------------ head(taxa_keys(gg85, keytype = c("Kingdom"))) ## ------------------------------------------------------------------------ mgDb_select(gg85, type = "taxa", keys = c("Vibrionaceae", "Enterobacteriaceae"), keytype = "Family") ## ------------------------------------------------------------------------ mgDb_select(gg85, type = "seq", keys = c("Vibrionaceae", "Enterobacteriaceae"), keytype = "Family") ## ------------------------------------------------------------------------ mgDb_select(gg85, type = "all", keys = c("Vibrio", "Salmonella"), keytype = "Genus") ## ------------------------------------------------------------------------ sessionInfo()