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

View source: R/seqvec2fasta.R

seqvec2fastaR Documentation

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, output_name = "")

Arguments

seqvec

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

output_name

A connection, or a character string naming the file to print to. If "" (the default), sequences will be printed to the standard output connection.

Examples

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

SQMtools documentation built on April 3, 2025, 6:16 p.m.