fillTax: reshape the heirarchical taxonomy

View source: R/fillTax.R

fillTaxR Documentation

reshape the heirarchical taxonomy

Description

reformat the taxonomy with the last clear assignment and changing the prefix

Usage

fillTax(x, split = ';', prefix=TRUE, fillAll=TRUE)

Arguments

x

Character, structured strings giving the heirarchical rank of taxonomy, e.g., d__Bacteria; p__Planctomycetota;c__Planctomycetes;o__Gemmatales;f__Gemmataceae;g__;s__

split

Character, the seperator for the heirarchical taxonomy.

prefix

Logical, whether contains prefix in the taxonomic strings, default TRUE.

fillAll

Logical, whether to fill all taxonic level, default TRUE.

See Also

fillTax2, slimTax

Examples

  test = 'd__Bacteria;p__Planctomycetota;c__Planctomycetes;o__Gemmatales;f__Gemmataceae;g__;s__'
  fillTax(x = test, split = ';', prefix=TRUE, fillAll=TRUE)

otuSummary documentation built on Sept. 8, 2023, 6:05 p.m.