ggtree | ggplot examples

ggtree | ggplot examples

author’s post:https://cosx.org/2015/11/to-achieve-the-visualization-and-annotation-of-evolutionary-tree-using-ggtree

Quick Start

library("ggtree")
tree <- read.tree("file")
ggplot(tree, aes(x, y)) + geom_tree() + theme_tree() + geom_tiplab(size=5, color="purple") +xlim(NA, 0.04)

Installation

source("https://bioconductor.org/biocLite.R")
## biocLite("BiocUpgrade") # you may need this
BiocManager::install('ggree')
Author

Karobben

Posted on

2020-08-13

Updated on

2024-01-22

Licensed under

Comments