read.hyphy {treeio} | R Documentation |
read HYPHY output
read.hyphy(nwk, ancseq, tip.fasfile = NULL)
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 |
A hyphy object
Guangchuang Yu https://guangchuangyu.github.io
nwk <- system.file("extdata/HYPHY", "labelledtree.tree", package="treeio") ancseq <- system.file("extdata/HYPHY", "ancseq.nex", package="treeio") read.hyphy(nwk, ancseq)