View source: R/vis_surface_background.R
| collayer.from.annotdata | R Documentation |
Compute surface color layer from annotation or atlas data.
collayer.from.annotdata(lh_annotdata = NULL, rh_annotdata = NULL)
lh_annotdata |
loaded annotation data for left hemi, as returned by |
rh_annotdata |
loaded annotation data for right hemi |
named hemi list, each entry is a vector of color strings, one color per surface vertex. The coloring represents the atlas data.
You can plot the return value using vis.color.on.subject.
Other surface color layer:
collayer.bg(),
collayer.bg.atlas(),
collayer.bg.meancurv(),
collayer.bg.sulc(),
collayer.from.annot(),
collayer.from.mask.data(),
collayer.from.morphlike.data(),
collayers.merge()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.