Learn R Programming

PathwaySpace (version 1.0.2)

getPathwaySpace,PathwaySpace-method: Accessors for Fetching Slots from a PathwaySpace Object

Description

getPathwaySpace retrives information from individual slots available in a PathwaySpace object.

Usage

# S4 method for PathwaySpace
getPathwaySpace(ps, what = "status")

Value

Content from slots in the PathwaySpace object.

Arguments

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"

Examples

Run this code
# 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')

Run the code above in your browser using DataLab