dirconn.viz.yeo_networks#

dirconn.viz.yeo_networks(*, subjects_dir: str | Path | None = None, subject: str = 'fsaverage') → DataFrame#

Return the network of every Desikan-Killiany region, computed from the vertex overlap.

Each region gets the Yeo network that holds most of its vertices on subject; the table also gives the share and flags the regions whose largest network holds less than half of them (they straddle networks, and the label is then a coarse summary). Nothing is stored in the repository: both annotations are read from the fsaverage of the MNE sample dataset.

Parameters:
  • subjects_dir (path, optional) – The FreeSurfer subjects directory; the default is subjects of the MNE sample dataset (dirconn.datasets.require_sample(), which never downloads silently).

  • subject (str) – The subject carrying both annotations.

Returns:

See dominant_networks(); indexed by region name such as "bankssts-lh".

Return type:

pandas.DataFrame