# NOT RUN {
fsbrain::download_optional_data();
subjects_dir = fsbrain::get_optional_data_filepath("subjects_dir");
agg = group.agg.atlas.standard(subjects_dir, c('subject1', 'subject2'),
'thickness', 'lh', 'aparc', fwhm='10');
# Visualize the mean values. Could use any subject, typically
# one would use fsaverage. Here we use subject1:
agg$subject = NULL; # remove non-numeric column.
vis.region.values.on.subject(subjects_dir, 'subject1', 'aparc',
lh_region_value_list=colMeans(agg), rh_region_value_list=NULL);
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab