Note

The NiMARE NeuroLibre preprint is a valuable resource that provides examples on how to utilize the package. However, it is important to note that this publication is static and will not be updated as NiMARE evolves. Despite potential changes to the syntax of the code, the publication remains an excellent reference to understand the various applications of NiMARE.

NeuroLibre Jupyter Book Link

Examples

Working with datasets

NiMARE stores meta-analytic data in its Dataset class. Dataset objects may contain a range of elements, including coordinates (for coordinate-based meta-analysis), links to statistical maps (for image-based meta-analysis), article text, label weights, and other metadata.

Additionally, NiMARE contains fetching and conversion tools for a number of meta-analytic resources, including Neurosynth, NeuroQuery, NeuroVault, and, to a limited extent, BrainMap. In the examples below, we show what a Dataset can do and exhibit tools for working with data from external meta-analytic resources.

The NiMARE Dataset object

The NiMARE Dataset object

Neurosynth and NeuroQuery

Neurosynth and NeuroQuery

Use NeuroVault statistical maps in NiMARE

Use NeuroVault statistical maps in NiMARE

Transform images into coordinates

Transform images into coordinates

Using NIMADS with NiMARE

Using NIMADS with NiMARE

Performing meta-analyses

NiMARE implements a number of coordinate- and image-based meta-analysis algorithms in its meta module. In the examples below, we exhibit a range of meta-analyses that can be done with coordinates and/or images in NiMARE.

For more information about the components that go into coordinate-based meta-analyses in NiMARE, see Coordinate-based meta-analysis in NiMARE, as well as Outputs of NiMARE.

Coordinate-based meta-analysis algorithms

Coordinate-based meta-analysis algorithms

Image-based meta-analysis algorithms

Image-based meta-analysis algorithms

KernelTransformers and CBMA

KernelTransformers and CBMA

The Estimator class

The Estimator class

The Corrector class

The Corrector class

Compare image and coordinate based meta-analyses

Compare image and coordinate based meta-analyses

Meta-analytic coactivation modeling analysis

Meta-analytic coactivation modeling analysis

Two-sample ALE meta-analysis

Two-sample ALE meta-analysis

Simulate data for coordinate based meta-analysis

Simulate data for coordinate based meta-analysis

Run a coordinate-based meta-analysis (CBMA) workflow

Run a coordinate-based meta-analysis (CBMA) workflow

Coordinate-based meta-regression algorithms

Coordinate-based meta-regression algorithms

Run an image-based meta-analysis (IBMA) workflow

Run an image-based meta-analysis (IBMA) workflow

Annotating Datasets

Annotation tools within NiMARE (annotate) refer to methods which assign labels to studies in a Dataset, generally based on study text.

Simple annotation from text

Simple annotation from text

The Cognitive Atlas

The Cognitive Atlas

LDA topic modeling

LDA topic modeling

GCLDA topic modeling

GCLDA topic modeling

Decoding ROIs and images

Functional characterization analysis refers to methods which use meta-analytic databases to characterize, or “decode”, brain regions or statistical maps in terms of tasks and/or mental processes. For more information about functional characterization analysis, see Meta-analytic functional decoding.

Discrete functional decoding

Discrete functional decoding

Gallery generated by Sphinx-Gallery