getPathwaySpace,PathwaySpace-method {PathwaySpace} | R Documentation |
Accessors for fetching slots from a PathwaySpace object.
Description
getPathwaySpace
retrives information from
individual slots available in a PathwaySpace object.
Usage
## S4 method for signature 'PathwaySpace'
getPathwaySpace(pts, what = "status")
Arguments
pts |
A preprocessed PathwaySpace 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 PathwaySpace object.
Examples
# Load a demo igraph
data('gtoy1', package = 'PathwaySpace')
# Create a new PathwaySpace object
pts <- buildPathwaySpace(gtoy1, nrc = 100)
# note: adjust 'nrc' to increase image resolution
# Get the 'status' slot in pts
status <- getPathwaySpace(pts, what = 'status')
[Package PathwaySpace version 1.0.1 Index]