目录

ggtreeSpace

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.

Installation

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")

Quick Example

 library(ggtree)
 library(phytools)
 library(ggtreeSpace)
 
 tr <- rtree(15)
 td <- fastBM(tr, nsim = 2)
 ggtreespace(tr, td) +
  geom_tippoint()

Author

关于

结合系统发育树与低维嵌入空间进行联合展示的工具。

448.0 KB
邀请码