brainstat.tutorial.utils.fetch_abide_data

brainstat.tutorial.utils.fetch_abide_data(data_dir=None, sites=None, keep_control=True, keep_patient=True, overwrite=False, min_rater_ok=3)[source]

Fetches ABIDE cortical thickness data.

Parameters
  • data_dir (str, pathlib.Path, optional) – Path to store the MICS data, by default $HOME_DIR/brainstat_data/mics_data.

  • sites (list, tuple, optional) – List of sites to include. If none, uses all sites, by default None.

  • keep_control (bool, optional) – If true keeps control subjects, by default True.

  • keep_patient (bool, optional) – If true keeps patient subjects, by default True.

  • overwrite (bool, optional) – If true overwrites existing data, by default False.

  • min_rater_ok (int, optional) – Minimum number of raters who approved the data, by default 3.

Returns

  • np.ndarray – Subject-by-vertex cortical thickness data on fsaverage5.

  • pd.DataFrame – Subject demographics.