write.jplace {treeio} | R Documentation |
generate jplace file
write.jplace(nwk, data, outfile)
nwk |
tree in newick format |
data |
annotation data |
outfile |
jplace output file |
jplace file
ygc
tree <- system.file("extdata", "pa.nwk", package="treeio") data <- read.csv(system.file("extdata", "pa_subs.csv", package="treeio"), stringsAsFactor=FALSE) outfile <- tempfile() write.jplace(tree, data, outfile)