get_shortnames: get_shortnames return the shortnames of taxonomy labels

View source: R/get_shortnames.R

get_shortnamesR Documentation

get_shortnames return the shortnames of taxonomy labels

Description

get_shortnames return the shortnames of taxonomy labels

Usage

get_shortnames(longnames)

Arguments

longnames

vector; vector of long taxonomic labels

Value

vector

Examples

longnames <- c("k__Bacteria;p__Firmicutes;c__Clostridia;o__Clostridiales;f__Ruminococcaceae;g__Ruminococcus",
               "k__Bacteria;p__Bacteroidetes;c__Bacteroidia;o__Bacteroidales;f__Bacteroidaceae;g__Bacteroides")
get_shortnames(longnames)

OxfordCMS/OCMSutility documentation built on Feb. 27, 2025, 8:19 p.m.