silhouetteMapping,PathwaySpace-method | R Documentation |
silhouetteMapping
constructs an image baseline used
to outline the graph layout in a PathwaySpace image.
## S4 method for signature 'PathwaySpace'
silhouetteMapping(
ps,
baseline = 0.01,
pdist = 0.05,
fill.cavity = TRUE,
verbose = TRUE
)
ps |
A PathwaySpace class object. |
baseline |
A fraction (in |
pdist |
A term (in |
fill.cavity |
A single logical value specifying to fill cavities
in the silhouette mask (when |
verbose |
A single logical value specifying to display detailed
messages (when |
A preprocessed PathwaySpace class object.
Mauro Castro and TCGA Network.
circularProjection
# 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
# Set '1s' as vertex signal
vertexSignal(ps) <- 1
# Map graph silhouette
ps <- silhouetteMapping(ps, pdist = 0.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.