Learn R Programming

seqmagick (version 0.1.1)

phy_write: phy_write

Description

write phylip file

Usage

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

Arguments

x

XStringSet object

outfile

output file

type

one of interleaved and sequential

Value

None

Examples

Run this code
# NOT RUN {
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