silhouetteMapping,PathwaySpace-method {PathwaySpace} | R Documentation |
Decorating PathwaySpace images with graph silhouettes.
Description
silhouetteMapping
constructs an image baseline used
to outline the graph layout in a PathwaySpace image.
Usage
## S4 method for signature 'PathwaySpace'
silhouetteMapping(pts, baseline = 0.01, pdist = 0.05, verbose = TRUE)
Arguments
pts |
A PathwaySpace class object. |
baseline |
A fraction (in |
pdist |
A term (in |
verbose |
A single logical value specifying to display detailed
messages (when |
Value
A preprocessed PathwaySpace class object.
Author(s)
Vinicius Chagas, Victor Apolonio, Mauro Castro, and TCGA Network.
See Also
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
# Create a 2D-landscape image
pts <- circularProjection(pts)
# Map graph silhouette
pts <- silhouetteMapping(pts)