Learn R Programming

yatah (version 1.0.0)

is_lineage: Test if a string is a lineage

Description

Test if a string is a lineage

Usage

is_lineage(string)

Value

A logical.

Arguments

string

string to be tested as lineage.

Details

Alphanumeric character, hyphen, dots, square brackets and non-consecutive underscores are allowed in clades names.

Examples

Run this code
is_lineage("k__Bacteria|p__Firmicutes|c__Clostridia|o__Clostridiales")

Run the code above in your browser using DataLab