microAnnotate {eudysbiome} | R Documentation |
Annotates given genera as harmful or harmless based on either our manually curated, harmful Genus-Species table in data harmGenera
of this package or user defined table.
microAnnotate(microbe, species = TRUE, annotated.micro = NULL)
microbe |
a genus list to be annotated; a Genus-Species data frame which represents the genera and the included corresponding species is recommended to be provided by users for the more accurate annotations, see |
species |
logical, specifying if the species are provided in the |
annotated.micro |
the annotated genera which are used for the annotation of |
The annotated genera.
#load the genera to be annotated library(eudysbiome) data(diffGenera) #load the curated Genus-Species annotation table data(harmGenera) microAnnotate(microbe = diffGenera, species = TRUE, annotated.micro = harmGenera)