View source: R/add_lineage_description.R
Takes a tbl with columns 'OTU', 'Domain', 'Phylum', 'Class' etc. and constructs a human-readable lineage description, the binomial if possible. Returns the tbl, with an additional 'Description' column.
1 2 | add_lineage_description(otutable, add_otu = TRUE,
italicise_binomials = "none")
|
italicise_binomials |
if set to 'markdown' or 'md', will wrap binomials in asterisks so they appear italicised in markdown output. If set to 'latex', will wrap binomials in escaped 'textit' tags. |
OTUTable |
tbl with at least an 'OTU' column and at least one taxonomic rank column |
add_OTU |
add the OTU name in parentheses after the description |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.