read.hyphy

Description

read HYPHY output

Usage

1
read.hyphy(nwk, ancseq, tip.fasfile = NULL)

Arguments

nwk

tree file in nwk format, one of hyphy output

ancseq

ancestral sequence file in nexus format, one of hyphy output

tip.fasfile

tip sequence file

Value

A hyphy object

Author(s)

Guangchuang Yu http://ygc.name

Examples

1
2
3
nwk <- system.file("extdata/HYPHY", "labelledtree.tree", package="ggtree")
ancseq <- system.file("extdata/HYPHY", "ancseq.nex", package="ggtree")
read.hyphy(nwk, ancseq)

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