Learn R Programming

SQMtools (version 1.6.3)

seqvec2fasta: Print a named vector of sequences as a fasta-formatted string

Description

Print a named vector of sequences as a fasta-formatted string

Usage

seqvec2fasta(seqvec)

Value

a character string with the sequence/s written in the fasta format.

Arguments

seqvec

vector. The vector to be written as a fasta string.

Examples

Run this code
data(Hadza)
seqvec2fasta(Hadza$orfs$seqs[1:10])

Run the code above in your browser using DataLab