Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
R
 
 
man
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Hierarchical Edge Bundles in R

Build Status

This packages implements the excellent network visualization method by hierarchical edge bundling (Holten, 2006) in the statistical software R (R Core Team, 2014). Hierarchical edge bundling is a graph and network visualization method in which edges are guided (or, bundled) along a dendrogram with a user-specified strength.

Installation

To install the latest version of HierarchicalEdgeBundles directly from the master branch at GitHub, run

#install.packages("devtools")  # Uncomment if devtools is not installed
devtools::install_github("AEBilgrau/HierarchicalEdgeBundles")

The package is still under development and may be considered unstable. Be sure that you have the package development prerequisites if you wish to install the package from the source.

Usage

The following example should run without problems.

set.seed(1)
library("HierarchicalEdgeBundles")
library("igraph")
library("ape")

# Create a graph and a tree
graph <- watts.strogatz.game(1, size = 9, nei = 2, p = 0.5)
V(graph)$name <- paste("Node", 1:9)
adj.mat <- get.adjacency(graph)
phylo <- as.phylo(hclust(as.dist(1-adj.mat)))

# Plot
plotHEB(graph, phylo, beta = 0.9, type = "fan")

References

  • Holten, Danny. "Hierarchical Edge Bundles: Visualization of Adjacency Relations in Hierarchical Data." Visualization and Computer Graphics, IEEE Transactions on 12.5 (2006): 741-748.

  • R Core Team (2014). R: A language and environment for statistical computing. R Foundation for Statistical Computing, Vienna, Austria. http://www.R-project.org/.

About

Bundle those edges!

Resources

Releases

No releases published

Packages

No packages published

Languages