vertexWeight,PathwaySpace-method {PathwaySpace} | R Documentation |
Accessor functions for fetching slots from a PathwaySpace object.
Description
Get or set 'weights' for a PathwaySpace class object.
Usage
## S4 method for signature 'PathwaySpace'
vertexWeight(pts)
## S4 replacement method for signature 'PathwaySpace'
vertexWeight(pts) <- value
Arguments
pts |
A PathwaySpace class object. |
value |
A numeric vector with values representing vertex weights. This vector should be aligned to the "vertex" slot. |
Value
A numeric vector.
Examples
data('gtoy1', package = 'PathwaySpace')
pts <- buildPathwaySpace(gtoy1, nrc = 100)
vertexWeight(pts)
[Package PathwaySpace version 1.0.1 Index]