Learn R Programming

otuSummary (version 0.1.2)

fillTax2: reshape the heirarchical taxonomy

Description

this function is similar to fillTax, except that this function has no parameter of "fillAll"

Usage

fillTax2(x, split = ';', prefix=TRUE)

Arguments

x

Character, structured strings giving the heirarchical rank of taxonomy. Please convert to character object for your input taxonomic information before using.

split

Character, the seperator for the heirarchical taxonomy.

prefix

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

See Also

fillTax, slimTax

Examples

Run this code
  test = 'd__Bacteria;p__Planctomycetota;c__Planctomycetes;o__Gemmatales;f__Gemmataceae;g__;s__'
  fillTax2(x = test, split = ';', prefix=TRUE)

Run the code above in your browser using DataLab