Description Usage Arguments Value Author(s) Examples
Will use rgl to render a substrate (e.g. anatomical) and overlay image (e.g. functional).
1 | renderSurfaceFunction<-function( surfimg, funcimg=list(overlayimage1,overlayimage2,etc), surfval=0.5, basefval , offsetfval , smoothsval = 0, smoothfval = 0, blobrender = TRUE )
|
surfimg |
Input image to use as rendering substrate. |
# surfimg, funcimg, surfval=0.5, basefval , offsetfval , smoothsval = 0, smoothfval = 0, blobrender = TRUE
funcimg |
Input list of images to use as functional overlays. |
surfval |
intensity level that defines isosurface |
basefval |
intensity level that defines lower threshold for functional image |
offsetfval |
intensity level that defines upper threshold for functional image |
blobrender |
render a blob as opposed to a surface patch |
0 – Success
1 – Failure
Avants B, Kandel B
1 2 3 4 5 | ## Not run:
renderSurfaceFunction(simg)
renderSurfaceFunction(simg,fimg,basefval=0.2,blobrender=FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.