parse_semicolon_delimited: Parse Format B: Semicolon-delimited taxonomy (GTDB-style)

View source: R/parse-taxonomy.R

parse_semicolon_delimitedR Documentation

Parse Format B: Semicolon-delimited taxonomy (GTDB-style)

Description

Parses labels like d__Bacteria;p__Cyanobacteriota;c__Cyanobacteriia;... where empty values like s__ are parsed as NA.

Usage

parse_semicolon_delimited(labels, levels = NULL, sep = ";")

Arguments

labels

Character vector of tip labels

levels

List with codes and names vectors for taxonomy levels.

sep

Character. Separator between taxonomy ranks. Default: ";".

Value

data.frame with taxonomy columns


Rclade documentation built on Sept. 26, 2026, 5:07 p.m.