read HYPHY output
Author
Guangchuang Yu https://guangchuangyu.github.io
Examples
nwk <- system.file("extdata/HYPHY", "labelledtree.tree", package="treeio")
ancseq <- system.file("extdata/HYPHY", "ancseq.nex", package="treeio")
read.hyphy(nwk, ancseq)
#> 'treedata' S4 object that stored information
#> of
#> '/usr/local/lib/R/site-library/treeio/extdata/HYPHY/labelledtree.tree'.
#>
#> ...@ phylo:
#>
#> Phylogenetic tree with 15 tips and 13 internal nodes.
#>
#> Tip labels:
#> K, N, D, L, J, G, ...
#> Node labels:
#> Node1, Node2, Node3, Node4, Node5, Node12, ...
#>
#> Unrooted; includes branch lengths.