R

ggtree supports phylip tree format

FavoriteLoadingAdd to favorites

Phylip is also a widely used tree format, which contains taxa sequences with Newick tree text. In ggtree, we can use read.phylip() function to parse the file and use ggtree() to visualize the tree. library(ggtree) phyfile <- system.file("extdata", "sample.phy", package="ggtree") phylip <- read.phylip(phyfile) phylip ## 'phylip' S4 object that stored information of ## '/Users/guangchuangyu/Library/R/3.2/library/ggtree/extdata/sample.phy'. ## ## …@ tree: ## Phylogenetic…
Original post: ggtree supports phylip tree format
Source: R-bloggers