Learn R Programming

genomes (version 3.2.0)

species: Extract the species name

Description

Extracts the species name from a scientific name

Usage

species(x)

Arguments

x
A vector of scientific names

Value

A vector of species names

Details

Removes single quotes, brackets and candidate qualifiers.

See Also

genus

Examples

Run this code
species("Candidatus Carsonella ruddii PV")

Run the code above in your browser using DataLab