phy_write: phy_write

View source: R/write.R

phy_writeR Documentation

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

Author(s)

Guangchuang Yu

Examples

## 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)

## End(Not run)

GuangchuangYu/seqmagick documentation built on Feb. 9, 2024, 3:06 a.m.