Learn R Programming

seqmagick (version 0.1.1)

phy2fas: phy2fas

Description

convert phylip file to fasta file

Usage

phy2fas(phyfile, outfile = "out.fas", type = "interleaved")

Arguments

phyfile

phylip file

outfile

output file

type

one of interleaved and sequential

Value

None

Examples

Run this code
# NOT RUN {
phy_file <- system.file("extdata/HA.phy", package="seqmagick")
fa_file <- tempfile(fileext = '.fas')
phy2fas(phy_file, fa_file)
# }

Run the code above in your browser using DataLab