Learn R Programming

seqmagick (version 0.1.7)

phy_write: phy_write

Description

write phylip file

Usage

phy_write(x, outfile, type = "sequential")

Value

None

Arguments

x

XStringSet object

outfile

output file

type

one of interleaved and sequential

Author

Guangchuang Yu

Examples

Run this code
if (FALSE) {
fa_file <- system.file("extdata/HA.fas", package="seqmagick")
x <- fa_read(fa_file)
aln <- bs_aln(x[1:5])
phy_file <- tempfile(fileext = '.phy')
phy_write(aln, phy_file)
}

Run the code above in your browser using DataLab