Giving credit

Previous topic

8.1.4. A introduction tutorial to fMRI decoding

Next topic

8.2.2. Glass brain plotting in nilearn

8.2.1. Basic Atlas plottingΒΆ

Plot the regions of a reference atlas (here the Harvard-Oxford atlas).

../../_images/sphx_glr_plot_atlas_001.png

Out:

Atlas ROIs are located at: /home/parietal/gvaroqua/nilearn_data/fsl/data/atlases/HarvardOxford/HarvardOxford-cort-maxprob-thr25-2mm.nii.gz

from nilearn import datasets
from nilearn import plotting

dataset = datasets.fetch_atlas_harvard_oxford('cort-maxprob-thr25-2mm')
atlas_filename = dataset.maps

print('Atlas ROIs are located at: %s' % atlas_filename)

plotting.plot_roi(atlas_filename, title="Harvard Oxford atlas")
plotting.show()

Total running time of the script: ( 0 minutes 0.485 seconds)

Generated by Sphinx-Gallery