renderNetwork: 3D surface-based rendering of image ROI-based networks

Description Usage Arguments Value Author(s) Examples

Description

Will use rgl to render a spatial graph

Usage

1
renderNetwork<-function( network, locations, scaling=c(0,0), lwd=2, radius=3, edgecolors=0, nodecolors='blue', nodetype='s' )

Arguments

network

NxN array or matrix of network connectivity values.

locations

Nx3 array or matrix of node locations

scaling

min and max values to use for coloring of edge values

lwd

width of edge lines

edgecolors

pre-defined colors for graph edges

radius

radius of nodes

nodetype

type of glyph for nodes

Value

0 – Success
1 – Failure

Author(s)

Duda, J

Examples

1
2
3
4
5
## Not run: 
renderNetwork(network, locations)
renderNetwork(network, locations, lwd=3, edgecolors=heat.colors(100) )

## End(Not run)

stnava/itkImageR documentation built on May 30, 2019, 7:21 p.m.