Learn R Programming

yatah (version 1.0.0)

taxtable: Taxonomic table

Description

Compute taxonomic table from lineages.

Usage

taxtable(lineage)

Value

A data.frame with columns corresponding to different ranks.

Arguments

lineage

string. Vector of lineages.

Details

Duplicated lineages are removed.

Examples

Run this code
lineage1 <- "k__Bacteria|p__Verrucomicrobia|c__Verrucomicrobiae"
lineage2 <- "k__Bacteria|p__Firmicutes|c__Clostridia"
lineage3 <- "k__Bacteria|p__Firmicutes|c__Bacilli"
taxtable(c(lineage1, lineage2, lineage3))

Run the code above in your browser using DataLab