vis.seg.legend | R Documentation |
Plot legend for a brain volume segmentation based on colorLUT.
vis.seg.legend(colortable, segvol, ...)
colortable |
a colortable data.frame, or a character string, which will be treated as a filename and loaded with |
segvol |
optional 3D or 4D array of integer data, the brain segmentation. Or a character string, which will be treated as a filename and loaded with |
... |
passed on to vis.colortable.legend |
## Not run:
ct = file.path(fs.home(), "FreeSurferColorLUT.txt");
seg = file.path(fs.home(), "subjects", "fsaverage", "mri", "aseg.mgz");
vis.seg.legend(ct, seg);
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.