# NOT RUN {
sjd = fsaverage.path(TRUE);
surfaces = subject.surface(sjd, 'fsaverage',
surface = "white", hemi = "both");
res = geod.patches.pervertexdata(surfaces,
vertex = c(12345L, 45L),
max_distance = 25.0);
# res$lh and res$rh now hold the per-vertex data.
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab