fa_write: fa_write

View source: R/write.R

fa_writeR Documentation

fa_write

Description

write fasta file

Usage

fa_write(x, outfile, type = "interleaved")

Arguments

x

XStringSet object

outfile

output file

type

one of interleaved and sequential

Value

None

Author(s)

Guangchuang Yu

References

http://evolution.genetics.washington.edu/phylip/doc/sequence.html

Examples

phy_file <- system.file("extdata/HA.phy", package="seqmagick")
x <- phy_read(phy_file)
fa_file <- tempfile(fileext = '.fas')
fa_write(x, fa_file)

seqmagick documentation built on July 9, 2023, 7:36 p.m.