Skip to contents

GraphSpace

GraphSpace-class
GraphSpace: An S4 class for igraph objects
GraphSpace(<ANY>) GraphSpace(<data.frame>)
Create a GraphSpace object
as.GraphSpace()
Convert objects to GraphSpace
getGraphSpace(<GraphSpace>)
Accessors for fetching slots from a GraphSpace object
updateGraphSpace(<GraphSpace>)
Update a GraphSpace object
normalizeGraphSpace(<GraphSpace>) cropGraphSpace(<GraphSpace>)
Normalize node coordinates to graph and image spaces
summary(<GraphSpace>)
Summarise a GraphSpace object

Accessors

Graph manipulation

gs_subset_nodes() gs_subset_edges()
Filter nodes and edges in a GraphSpace object
`gs_add_nodes<-`(<GraphSpace>)
Add nodes to a GraphSpace object
`gs_add_edges<-`(<GraphSpace>)
Add edges to a GraphSpace object
`[`(<GraphSpace>,<ANY>,<ANY>,<ANY>) `[[`(<GraphSpace>)
Subscript operators for GraphSpace objects

Features

gs_fetch_features() gs_add_features()
Manipulate node features in a GraphSpace object

ggplot2 integration

ggplot(<GraphSpace>)
Using ggplot2 with GraphSpace objects
inject_nodespace()
Dynamic Scale Injection for Edge Clipping

Geoms

geom_nodespace() nodespace_handler()
Draw node elements in a 2D graph layout
geom_edgespace() edgespace_handler()
Draw edge elements in a 2D graph layout
geom_graphspace()
Convenience wrapper for node and edge geoms

Annotation

annotation_gspace_image() annotation_gspace()
Annotate a GraphSpace Plot with an Image

Plotting

plotGraphSpace(<GraphSpace>) plotGraphSpace(<igraph>) plotGraphSpace(<tbl_graph>) plotGraphSpace(<gs_graph>)
Wrapper function to plot GraphSpace objects in ggplot2
plot(<GraphSpace>)
Plot GraphSpace objects

Themes

Utilities

as_colorraster()
Map numeric values to a color raster

Data

gtoy1 gtoy2
Toy 'igraph' objects

Internal

GeomEdgeSpace
GeomEdgeSpace: a ggplot2 prototype for GraphSpace-class methods
GeomNodeSpace
GeomNodeSpace: a ggplot2 prototype for GraphSpace-class methods
StatEdgeSpace
Attribute Processing for GeomEdgeSpace
StatNodeSpace
Attribute Processing for GeomNodeSpace

Package

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