Skip to content

Enhancement request: ROI-wise labeling and coloring in connectivity plots #296

@hasibagen

Description

@hasibagen

If your issue is a usage question, please consider asking on the
MNE Forum instead of opening an issue.

I’m currently visualizing functional connectivity using circular graphs, and I’d like to suggest a visualization enhancement related to labeling and coloring.

In many EEG or fMRI studies, we often group multiple channels or parcels into predefined regions of interest (ROIs). Currently, when plotting the connectivity matrix, each sub-node within an ROI (e.g., multiple parcels or channels) is displayed with its own label. This leads to duplicated or overly dense labels when all sub-nodes within an ROI are shown with the same name (e.g., "Frontal", "Temporal", etc.).

Suggestion:

Labeling: Allow the option to display one label per ROI rather than per sub-node, to avoid visual clutter.

Coloring: Similarly, enable coloring per ROI (i.e., all sub-nodes within a single ROI share the same color), similar to what is available in pyCirclize.

This feature would be very helpful for producing clean, interpretable plots, especially when working with large numbers of ROIs or densely connected matrices.

Example use case:

In fMRI data, an ROI like the left temporal lobe might be made up of several parcels (e.g., L_Temporal_1, L_Temporal_2, L_Temporal_3). Instead of showing all three as separate labels, it would be ideal to show a single label "L_Temporal" and have all three share the same color in the circular plot.

now figue is

Image

A very helpful visual example is available here:
https://moshi4.github.io/pyCirclize/chord_diagram/
#262 (comment)

In this example, each group/ROI is annotated once, and the coloring is done by group.

Would you consider adding such functionality in a future release?

Thanks again for your excellent work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions