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

abichat/yatah documentation built on April 14, 2024, 7:25 a.m.