zzwch / crosslink

Network Visualization Tailed for Grouped Nodes

Home Page:https://zzwch.github.io/crosslink/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

crosslink

Network Visualization Tailed for Grouped Nodes

Install

remotes::install_github("zzwch/crosslink", build_vignettes = TRUE)

Quick start

library(crosslink)

# generate a CrossLink object
cl <- crosslink(demo$nodes, demo$edges, demo$cross.by, odd.rm = F,spaces = "flank")

# set headers if needed
cl %<>% set_header(header = c("A","B","C","D","E","F"))

# plot the network

# By default, node color is coded and node size is proportional to its degree (calculated internally).
# And edge color is coded by the cross group of the edge's source node.
cl %>% cl_plot()

Vignette

For more, see the Vignette

About

Network Visualization Tailed for Grouped Nodes

https://zzwch.github.io/crosslink/

License:MIT License


Languages

Language:HTML 91.8%Language:R 8.2%