write.jplace {treeio}R Documentation

write.jplace

Description

generate jplace file

Usage

write.jplace(nwk, data, outfile)

Arguments

nwk

tree in newick format

data

annotation data

outfile

jplace output file

Value

jplace file

Author(s)

ygc

Examples

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)

[Package treeio version 1.2.2 Index]