View source: R/pspaceMethods.R
buildPathwaySpace | R Documentation |
buildPathwaySpace
is a constructor of
PathwaySpace-class objects.
buildPathwaySpace(
gs,
nrc = 500,
verbose = TRUE,
g = deprecated(),
mar = deprecated()
)
gs |
A |
nrc |
A single positive integer indicating the number of rows and columns (in pixels) for a square image matrix. This argument will affect the resulting image size and resolution. |
verbose |
A single logical value specifying to display detailed
messages (when |
g |
Deprecated from PathwaySpace 1.0.1; use 'gs' instead. |
mar |
Deprecated from PathwaySpace 1.0.1; use 'mar' in
|
A pre-processed PathwaySpace class object.
Victor Apolonio, Vinicius Chagas, Mauro Castro, and TCGA Network.
undirected_graph
# Load a demo igraph
data('gtoy1', package = 'RGraphSpace')
# Check graph validity
gs <- GraphSpace(gtoy1, mar = 0.1)
# Create a new PathwaySpace object
ps <- buildPathwaySpace(gs, nrc = 100)
# note: adjust 'nrc' to increase image resolution
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.