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

GuangchuangYu/treeio documentation built on Oct. 31, 2024, 10:13 a.m.