annotateFeatures-MgDb-method: Annotating metagenome data with taxonomic information

Description Usage Arguments Value Examples

Description

This method is used to create a mgFeatures class object

Usage

1
2
3
4
annotateFeatures(mgdb, ...)

## S4 method for signature 'MgDb'
annotateFeatures(mgdb, query)

Arguments

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.

Value

mgFeatures-class object

Examples

1
2
3
4
5
## MgDb with mock community ids
gg85 <- get_gg13.8_85MgDb()
## generating mgFeatures object
data(mock_query_df)
mock_mgF <- annotateFeatures(gg85, mock_query_df)

HCBravoLab/metagenomeFeatures documentation built on Feb. 14, 2020, 12:42 a.m.