add_lineage_description: Add lineage descriptions to an OTU table

Description Usage Arguments

View source: R/add_lineage_description.R

Description

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.

Usage

1
2
add_lineage_description(otutable, add_otu = TRUE,
  italicise_binomials = "none")

Arguments

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


wilkox/wilkoxmisc documentation built on Oct. 14, 2020, 7:51 a.m.