Package: RGraphSpace 1.3.0

Mauro Castro

RGraphSpace: A Lightweight Interface Between 'igraph' and 'ggplot2' Graphics

An interface to integrate 'igraph' and 'ggplot2' graphics within a normalized coordinate system. 'RGraphSpace' implements geometric objects based on 'ggplot2' prototypes, optimized for the representation of large networks. The package provides three specialized 'geoms' to translate graph data into geometric layers, supporting customization of aesthetics and visual styles. These 'geoms' use a dual-anchor normalization approach to align layers, required for analyses where network elements must be referenced to a spatial map. 'RGraphSpace' aims to facilitate side-by-side visualization of multiple graphs spatially aligned with reference maps and images.

Authors:Sysbiolab Team [aut], Flávio Kessler [ctb], Jonathan Back [ctb], Lana Querne [ctb], Victor Apolonio [ctb], Vinicius Chagas [ctb], Mauro Castro [cre]

RGraphSpace_1.3.0.tar.gz
RGraphSpace_1.3.0.zip(r-4.7)RGraphSpace_1.3.0.zip(r-4.6)RGraphSpace_1.3.0.zip(r-4.5)
RGraphSpace_1.3.0.tgz(r-4.6-any)RGraphSpace_1.3.0.tgz(r-4.5-any)
RGraphSpace_1.3.0.tar.gz(r-4.7-any)RGraphSpace_1.3.0.tar.gz(r-4.6-any)
RGraphSpace_1.3.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
RGraphSpace/json (API)
NEWS

# Install 'RGraphSpace' in R:
install.packages('RGraphSpace', repos = c('https://sysbiolab.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/sysbiolab/rgraphspace/issues

Pkgdown/docs site:https://sysbiolab.github.io

Datasets:
  • gtoy1 - Toy 'igraph' objects
  • gtoy2 - Toy 'igraph' objects

On CRAN:

Conda:

6.36 score 2 stars 1 packages 45 scripts 538 downloads 32 exports 44 dependencies

Last updated from:a6309bddba. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK161
source / vignettesOK207
linux-release-x86_64OK177
macos-release-arm64OK90
macos-oldrel-arm64OK95
windows-develOK100
windows-releaseOK103
windows-oldrelOK104
wasm-releaseOK121

Exports:as_colorrastercropGraphSpaceedgespace_handlergeom_edgespacegeom_graphspacegeom_nodespaceGeomEdgeSpaceGeomGraphSpaceGeomNodeSpacegetGraphSpaceGraphSpacegs_ecountgs_edge_attrgs_edge_attr<-gs_edgesgs_graphgs_nodesgs_vcountgs_vertex_attrgs_vertex_attr<-inject_nodespacenodespace_handlernormalizeGraphSpaceplotGraphSpaceStatEdgeSpaceStatNodeSpacetheme_gspace_coordstheme_gspace_legendtheme_gspace_th0theme_gspace_th1theme_gspace_th2theme_gspace_th3

Dependencies:base64encbeeswarmCairoclicpp11dplyrfarvergenericsggbeeswarmggplot2ggrastrgluegtableigraphisobandjsonlitelabelinglatticelifecyclemagrittrMatrixpillarpkgconfigpngpurrrR6raggRColorBrewerrlangS7scalesstringistringrsystemfontstextshapingtibbletidygraphtidyrtidyselectutf8vctrsviporviridisLitewithr

Getting started with RGraphSpace

Rendered fromRGraphSpace.Rmdusingknitr::rmarkdownon May 23 2026.

Last update: 2026-05-18
Started: 2023-11-24

Readme and manuals

Help Manual

Help pageTopics
Map numeric values to a color rasteras_colorraster
Draw edge elements in a 2D graph layoutedgespace_handler geom_edgespace
Draw node and edge elements in a 2D graph layoutgeom_graphspace
Draw node elements in a 2D graph layoutgeom_nodespace nodespace_handler
GeomEdgeSpace: a ggplot2 prototype for GraphSpace-class methodsGeomEdgeSpace
GeomGraphSpace: a ggplot2 prototype for GraphSpace-class methodsGeomGraphSpace
GeomNodeSpace: a ggplot2 prototype for GraphSpace-class methodsGeomNodeSpace
Accessors for fetching slots from a GraphSpace objectgetGraphSpace getGraphSpace,GraphSpace-method
GraphSpace: An S4 class for igraph objectsGraphSpace-class
Create a GraphSpace objectGraphSpace GraphSpace,ANY-method GraphSpace,data.frame-method
Accessors for applying essential igraph methods to modify attributes of GraphSpace objects.$,GraphSpace-method $<-,GraphSpace-method as.igraph.GraphSpace gs_ecount gs_ecount,GraphSpace-method gs_edges gs_edges,GraphSpace-method gs_edge_attr gs_edge_attr,GraphSpace-method gs_edge_attr<- gs_edge_attr<-,GraphSpace-method gs_graph gs_graph,GraphSpace-method gs_nodes gs_nodes,GraphSpace-method gs_vcount gs_vcount,GraphSpace-method gs_vertex_attr gs_vertex_attr,GraphSpace-method gs_vertex_attr<- gs_vertex_attr<-,GraphSpace-method names names,GraphSpace-method names<- names<-,GraphSpace-method [[<-,GraphSpace-method
Toy 'igraph' objectsgtoy1 gtoy2 gtoys
Dynamic Scale Injection for Edge Clippinginject_nodespace
Normalize node coordinates to graph and image spacescropGraphSpace cropGraphSpace,GraphSpace-method normalizeGraphSpace normalizeGraphSpace,GraphSpace,ANY-method normalizeGraphSpace,GraphSpace,missing-method
Plot GraphSpace objectsplot.GraphSpace
Wrapper function to plot GraphSpace objects in ggplot2plotGraphSpace plotGraphSpace,GraphSpace-method plotGraphSpace,gs_graph-method plotGraphSpace,igraph-method plotGraphSpace,tbl_graph-method
Attribute Processing for GeomEdgeSpaceStatEdgeSpace
Attribute Processing for GeomNodeSpaceStatNodeSpace
RGraphSpace ggplot2 themestheme_gspace theme_gspace_coords theme_gspace_legend theme_gspace_th0 theme_gspace_th1 theme_gspace_th2 theme_gspace_th3