Learn R Programming

seqmagick (version 0.1.7)

fa_write: fa_write

Description

write fasta file

Usage

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

Value

None

Arguments

x

XStringSet object

outfile

output file

type

one of interleaved and sequential

Author

Guangchuang Yu

References

https://phylipweb.github.io/phylip/

Examples

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

Run the code above in your browser using DataLab