b_sepFasta: Separate sequences (fasta) from 'bold_seqspec' output.

View source: R/bold_seqspec.R

b_sepFastaR Documentation

Separate sequences (fasta) from bold_seqspec output.

Description

Separate sequences (fasta) from bold_seqspec output.

Usage

b_sepFasta(x, format = "tsv")

Arguments

x

(object) The output of a bold_seqspec call.

format

(character) The format used in the bold_seqspec call. One of 'tsv' (default) or 'xml'.

Value

A list of length two : the specimen data and the sequences list.

Examples

## Not run: 
res <- bold_seqspec(taxon='Osmia')
res <- b_sepFasta(res)
# (same as bold_seqspec(taxon='Osmia', sepFasta = TRUE))

## End(Not run)

ropensci/bold documentation built on Sept. 10, 2023, 11:50 p.m.