listTaxa | R Documentation |
Lists all unique taxonomic names in a Taxonomy at a given level
listTaxa(s, minimum.level = 1, common.name = F, uniques = F)
s |
Character vector of taxonomic names. First row is species IDs, second row is their taxonomy. This function assumes greengenes-compatible taxonomic strings |
minimum.level |
Integer. Minimum number of taxonomic levels to include counting from highest to lowest. |
common.name |
logical whether or not to return the common name in the list of taxa |
uniques |
logical whether or not to trim taxonomic names to only unique entries |
list of taxonomic strings for all taxa up to speficied level.
data(FTmicrobiome)
sapply(FTmicrobiome$taxonomy[,2],as.character) %>%
listTaxa(minimum.level=2,uniques=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.