getPathwaySpace,PathwaySpace-method | R Documentation |
getPathwaySpace
retrives information from
individual slots available in a PathwaySpace object.
## S4 method for signature 'PathwaySpace'
getPathwaySpace(ps, what = "status")
ps |
A preprocessed PathwaySpace class object |
what |
A single character value specifying which information should be retrieved from the slots. Options: "nodes", "edges", "graph", "image", "pars", "misc", "signal","projections", "status", "silhouette", "summits", "summit_mask", "summit_contour" |
Content from slots in the PathwaySpace object.
# Load a demo igraph
data('gtoy1', package = 'RGraphSpace')
# Create a new PathwaySpace object
ps <- buildPathwaySpace(gtoy1, nrc = 100)
# note: adjust 'nrc' to increase image resolution
# Get the 'status' slot in ps
status <- getPathwaySpace(ps, what = 'status')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.