write.jplace: write.jplace

View source: R/write-jplace.R

write.jplaceR Documentation

write.jplace

Description

Export jplace object to jplace file.

Usage

write.jplace(x, outfile)

Arguments

x

a jplace object.

outfile

the output file name

Examples

jp <- system.file("extdata", "sample.jplace", package="treeio")
tr1 <- read.jplace(jp)
outfile <- tempfile()
write.jplace(tr1, outfile)
tr2 <- read.jplace(outfile)
tr2

YuLab-SMU/treeio documentation built on Nov. 3, 2024, 4:17 p.m.