WriteFasta: FASTA file writer

Description Usage Arguments Examples

View source: R/FastaPhylip.R

Description

Writes a fasta file from a physeq object.

Usage

1
WriteFasta(x, filename, multiline = 60)

Arguments

x

The physeq object to read from

filename

The name of the file to create

multiline

How many characters per line, for an interleaved FASTA format. Use 'multiline = -1' for sequential format (no character limit). Default = 60

Examples

1
2
x <- ReadPhylip("MSA.phy") #Creates the physeq object 'x'
WriteFasta(x, "MSA.fa")

yh986/PhyFormat documentation built on Jan. 3, 2022, 12:50 p.m.