Description Usage Arguments Value Note Author(s) Examples
Reduces the full string indicating taxonomy to the last classified level. Works on tables at levels higher than OTUs.
1 |
table |
A table containing the relative abundances of each taxa produced by combine_otus() |
Returns the same table with shortened row names
This function is often most useful for plotting, so that the full string does not appear on the plot
Alexandra Linz <amlinz16@gmail.com>
1 2 3 4 5 6 7 8 9 10 11 12 | data(otu_table)
data(taxonomy)
# Create a small table for the example
# example <- year_subset("05", otu_table)
# example <- bog_subset("TBE", example)
# clade_table <- combine_otus("Clade", example, taxonomy)
# clade_table <- clade_table[which(rowSums(clade_table) > 0),]
# head(rownames(clade_table))
# reduced_clades <- reduce_names(clade_table)
# head(rownames(reduced_clades))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.