Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 972 Bytes

README.md

File metadata and controls

29 lines (23 loc) · 972 Bytes

Voronoi treemaps in R

Voronoi treemaps in R using Voronoi-Treemap-Library and rJava

Example output

Example plot

Install prerequisites: For debian/ubuntu:

$ sudo apt install r-cran-rjava gradle openjdk-8-jdk-headless

Then, in R:

>install.packages(c("dplyr", "tibble", "data.tree", "stringr"))

Before running, you need to build the java library:

$ git clone --recursive https://github.com/dlesl/voronoi_treemap
$ cd voronoi_treemap/Voronoi-Treemap-Library
$ gradle build

The proteomics sample data comes from Schramm et al., 2017, and Jahn et al., 2018.

See also https://github.com/m-jahn/SysbioTreemaps for an implementation using additively-weighted Voronoi diagrams.