buildPathwaySpace {PathwaySpace} | R Documentation |
Constructor of PathwaySpace-class objects.
Description
buildPathwaySpace
is a constructor of
PathwaySpace-class objects.
Usage
buildPathwaySpace(g, nrc = 500, mar = 0.075, verbose = TRUE)
Arguments
g |
An |
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. |
mar |
A single numeric value (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