# NOT RUN {
# Draw voxels on a sphere around fsaverage:
lat = seq.int(from=0, to=360, by=30);
lon = rep(0, length(lat));
vis.fs.surface('~/software/freesurfer/subjects/fsaverage/surf/lh.white');
fsbrain::rglvoxels(sph2fs(lat, lon), voxelcol = 'red');
fsbrain::rglvoxels(sph2fs(lon, lat), voxelcol = 'green');
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab