Skip to contents

Base R plotting

splot()
Base R Graphics Network Plotting
sn_save()
Save Network Visualization

Plotting based on ggplot2

soplot() sn_render()
Plot Cograph Network
sn_ggplot()
Convert Network to ggplot2
sn_save_ggplot()
Save as ggplot2

Transition Network Analysis

from_tna()
Convert a tna object to cograph parameters
plot_tna() tplot()
TNA-Style Network Plot (qgraph Compatible)
plot_htna()
Plot Heterogeneous TNA Network (Multi-Group Layout)

Multi-Cluster TNA Network Plot

plot_mtna() mtna()
Multi-Cluster TNA Network Plot

Multilevel Network Visualization

plot_mlna() mlna()
Multilevel Network Visualization

Network functions

cograph()
Create a Network Visualization
as_cograph()
Convert to Cograph Network
n_nodes()
Get Number of Nodes
n_edges()
Get Number of Edges
get_edges()
Get Edges from Cograph Network
get_labels()
Get Labels from Cograph Network
get_nodes()
Get Nodes from Cograph Network
set_edges()
Set Edges in Cograph Network
set_nodes()
Set Nodes in Cograph Network
sn_edges()
Set Edge Aesthetics
sn_ggplot()
Convert Network to ggplot2
sn_nodes()
Set Node Aesthetics
sn_save()
Save Network Visualization
aes-nodes
Node Aesthetics
aes-edges
Edge Aesthetics
output-save
Output and Saving
from_qgraph()
Convert a qgraph object to cograph parameters

Palettes

list_palettes()
List Available Color Palettes
sn_palette()
Apply Color Palette to Network
palette_blues()
Blues Palette
palette_colorblind()
Colorblind-friendly Palette
palette_diverging()
Diverging Palette
palette_pastel()
Pastel Palette
palette_rainbow()
Rainbow Palette
palette_reds()
Reds Palette
palette_viridis()
Viridis Palette
palettes
Color Palettes

Shapes

get_shape()
Get a Registered Shape
list_shapes()
List Available Shapes
list_svg_shapes()
List Registered SVG Shapes
register_shape()
Register a Custom Shape
register_svg_shape()
Register Custom SVG Shape
unregister_svg_shape()
Unregister SVG Shape

Themes

get_theme()
Get a Registered Theme
list_themes()
List Available Themes
sn_theme()
Apply Theme to Network
register_theme()
Register a Custom Theme
theme_cograph_classic()
Classic Theme
theme_cograph_colorblind()
Colorblind-friendly Theme
theme_cograph_dark()
Dark Theme
theme_cograph_gray()
Grayscale Theme
theme_cograph_minimal()
Minimal Theme
theme_cograph_nature()
Nature Theme
theme_cograph_viridis()
Viridis Theme

Layouts

get_layout()
Get a Registered Layout
set_layout()
Set Layout in Cograph Network
sn_layout()
Apply Layout to Network
layout-circle
Circular Layout
layout-groups
Group-based Layout
layout-oval
Oval/Ellipse Layout
layout-spring
Fruchterman-Reingold Spring Layout
layout_circle()
Circular Layout
layout_groups()
Group-based Layout
layout_oval()
Oval Layout
layout_spring()
Fruchterman-Reingold Spring Layout
list_layouts()
List Available Layouts
register_layout()
Register a Custom Layout