getGraphSpace,GraphSpace-method {RGraphSpace} | R Documentation |
Accessors for fetching slots from a GraphSpace object
Description
getGraphSpace
retrives information from
individual slots available in a GraphSpace object.
Usage
## S4 method for signature 'GraphSpace'
getGraphSpace(gs, what = "summary")
Arguments
gs |
A preprocessed GraphSpace class object |
what |
A single character value specifying which information should be retrieved from the slots. Options: 'graph','gxy','gxyz','pars','misc','status','summits', 'summit_mask', and 'summit_contour'. |
Value
Content from slots in the GraphSpace object.
Examples
# Load a demo igraph
data('gtoy1', package = 'RGraphSpace')
# Create a new GraphSpace object
gs <- GraphSpace(gtoy1)
# Get the 'summary' slot in gs
getGraphSpace(gs, what = 'summary')
[Package RGraphSpace version 1.0.5 Index]