write.jplace

Description

generate jplace file

Usage

1
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

1
2
3
4
5
tree <- system.file("extdata", "pa.nwk", package="ggtree")
data <- read.csv(system.file("extdata", "pa_subs.csv", package="ggtree"),
                stringsAsFactor=FALSE)
outfile <- tempfile()
write.jplace(tree, data, outfile)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.