taxtable: Taxonomic table

View source: R/taxtable.R

taxtableR Documentation

Taxonomic table

Description

Compute taxonomic table from lineages.

Usage

taxtable(lineage)

Arguments

lineage

string. Vector of lineages.

Details

Duplicated lineages are removed.

Value

A data.frame with columns corresponding to different ranks.

Examples

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))

yatah documentation built on May 29, 2024, 6:11 a.m.