mne_rsa.plot_roi_map#
- mne_rsa.plot_roi_map(values, rois, subject, subjects_dir, cmap='plasma', alpha=1.0)[source]#
Plot ROI values on a FreeSurfer brain.
- Parameters:
- valuesarray-like, shape (n_rois,)
The values to plot. One value per ROI.
- roislist of mne.Label
The labels corrsponding to the ROIs.
- subjectstr
The name of the FreeSurfer subject to plot the brain for.
- subjects_dirstr
The folder in which the FreeSurfer subject data is kept. Inside this folder should be a folder with the same name as the subject parameter.
- cmapstr
The name of the matplotlib colormap to use. Defaults to ‘plasma’.
- alphafloat
The alpha (opacity, 1.0 is fully opaque, 0.0 is fully transparant) of the data being plotted on top of the brain.
- Returns:
- brainmne.viz.Brain
The MNE-Python brain plotting object that was created and currently being shown. You can use this to modify the plot.