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

View source: R/bold_seqspec.R

b_sepFastaR Documentation

Seperate sequences (fasta) from bold_seqspec output.

Description

Seperate 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)

bold documentation built on May 3, 2023, 1:19 a.m.