circularProjection,PathwaySpace-method | R Documentation |
circularProjection
implements a convolution
algorithm to project signals onto a 2D-coordinate system.
## S4 method for signature 'PathwaySpace'
circularProjection(
ps,
k = 8,
pdist = 0.15,
rescale = TRUE,
verbose = TRUE,
decay.fun = signalDecay(),
aggregate.fun = signalAggregation(),
kns = deprecated()
)
ps |
A PathwaySpace class object. |
k |
A single positive integer determining the k-top signals in the signal convolution operation. |
pdist |
A term (in |
rescale |
A single logical value indicating whether to rescale
the signal. If the signal |
verbose |
A single logical value specifying to display detailed
messages (when |
decay.fun |
A signal decay function. Available options include
'Weibull', 'exponential', and 'linear' (see |
aggregate.fun |
A function used to aggregate the projected signals.
It must be provided as a unary function, e.g., |
kns |
Deprecated from PathwaySpace 1.0.1; use 'k' instead. |
A preprocessed PathwaySpace class object.
Victor Apolonio, Vinicius Chagas, Mauro Castro, and TCGA Network.
buildPathwaySpace
# 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
# Create a 2D-landscape image
ps <- circularProjection(ps)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.