Learn R Programming

ggtangle: Draw Network with Data

Extends the ‘ggplot2’ plotting system to support network visualization. Inspired by the ‘Method 1’ in ‘ggtree’ (G Yu (2018) doi:10.1093/molbev/msy194), ‘ggtangle’ is designed to work with network associated data.

:writing_hand: Authors

Guangchuang YU

School of Basic Medical Sciences, Southern Medical University

https://yulab-smu.top

Copy Link

Version

Install

install.packages('ggtangle')

Monthly Downloads

41,388

Version

0.1.1

License

Artistic-2.0

Maintainer

Guangchuang Yu

Last Published

January 16th, 2026

Functions in ggtangle (0.1.1)

geom_edge_interactive

layer to draw edges of a network interactively
layout_circular

Circular layout
ggtangle-package

ggtangle: Draw Network with Data
geom_edge_text_interactive

layer to draw edge labels of a network interactively
geom_cnet_label

geom_cnet_label
geom_edge_text

layer to draw edge labels of a network
reexports

Objects exported from other packages
drag_network

Drag the nodes of a network to update the layout of the network
layout_fishbone

Glycan Layout Algorithm (Fishbone/SNFG-like)
geom_edge

layer to draw edges of a network
cnetplot

category-item network plot
layout_linear

Linear layout