taxnamesplit: Extract name at a given taxonomic level from a full name in...

Description Usage Arguments Value Examples

View source: R/taxnamesplit.R

Description

This function splits a full taxonomic lineage as a given level and returns the latter half.

Usage

1
taxnamesplit(names, level = "genus")

Arguments

names

Name string/ vector of name strings

level

taxonomic level to split at must be in range phylum to species (default is genus).

Value

A string (or vector of strings if input is a vector) containing the second part of the input string split at the given taxonomic level.

Examples

1
taxnamesplit("p__Bacteroidetes;c__Bacteroidia","class")

IgAScores documentation built on Sept. 1, 2020, 9:08 a.m.