annotateFeatures {metagenomeFeatures} | R Documentation |
This method is used to create a mgFeatures class object
annotateFeatures(mgdb, ...) ## S4 method for signature 'MgDb' annotateFeatures(mgdb, query)
mgdb |
MgDb class object |
... |
additional arguments passed to select function |
query |
A data frame with experimental data to annotate with taxonomic information, must include column named "Key" with databse ids. Or a vector of database Keys of entries to include in mgFeatures-class object. |
mgFeatures-class object
## MgDb with mock community ids gg85 <- get_gg13.8_85MgDb() ## generating mgFeatures object data(mock_query_df) mock_mgF <- annotateFeatures(gg85, mock_query_df)