Learn R Programming

rbiom (version 1.0.0)

write.fasta: Write sequences from a BIOM object to a file in fasta format.

Description

Write sequences from a BIOM object to a file in fasta format.

Usage

write.fasta(seqs, outfile)

Arguments

seqs

A named character vector where names are sequence names and values are the sequences. Also accepts a BIOM object which contains sequences.

outfile

Path to the output fasta file. Files ending in .gz or .bz2 will be compressed accordingly.

Value

On success, returns NULL invisibly.