fillTax {otuSummary} | R 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)
[Package otuSummary version 0.1.2 Index]