# Parcellation display with the same color using freesurfer

Two methods for displaying ROI analysis results with brain parcellation in FreeSurfer.

Solution #1 using R. The R code can be found HERE. After running the code, a configration file (like THIS) can be obtained. Then, by following the instructions at the end of the R code, you can have the display with tksurfer.

Solution #2 using Matlab. The Matlab code can be found HERE. Note that it depdends a matlab function fron Freesurfer 6.0. After running the code, a mgh file can be obtained for the visualization with tksurferfv.

Note that:

Both methods are based on a csv file, like THIS.

Different options for the brain display: inflated/orig/smoothwm/white/pial/sphere