This package is a comprehensive visualization tool specifically designed for exploring phylomorphospace. It not only simplifies the process of generating phylomorphospace, but also enhances it with the capability to add graphic layers to the plot with grammar of graphics to create fully annotated phylomorphospaces.
The released version from Bioconductor
if (!require("BiocManager"))
install.packages("BiocManager")
BiocManager::install("ggtreeSpace")
Alternatively, you can grab the development version from github using devtools:
if (!requireNamespace("devtools", quietly=TRUE))
install.packages("devtools")
devtools::install_github("YuLab-SMU/ggtreeSpace")
library(ggtree)
library(phytools)
library(ggtreeSpace)
tr <- rtree(15)
td <- fastBM(tr, nsim = 2)
ggtreespace(tr, td) +
geom_tippoint()
- Guangchuang Yu Professor, PI
- Lin Li Master’s Student