brainstat.context.meta_analysis.meta_analytic_decoder¶
-
brainstat.context.meta_analysis.
meta_analytic_decoder
(template, stat_labels, corrtype='pearson', data_dir=None)[source]¶ Meta-analytic decoding of surface maps using NeuroSynth or NeuroQuery.
- Parameters
template (str) – Path of a template volume file.
stat_labels (str, numpy.ndarray, sequence of str or numpy.ndarray) – Path to a label file for the surfaces, numpy array containing the labels, or a list containing multiple of the aforementioned.
corrtype (str, optional) – Correlation type {‘pearson’, ‘spearman’}. Default is ‘pearson’.
data_dir (str, optional) – The directory of the dataset. If none exists, a new dataset will be downloaded and saved to this path. If None, the directory defaults to your home directory, by default None.
- Returns
pandas.DataFrame – Table with correlation values for each feature.