API
nimare.dataset
: Dataset IO
Classes for representing datasets of images and/or coordinates.
|
Storage container for a coordinate- and/or image-based meta-analytic dataset/database. |
nimare.meta
: Meta-analytic algorithms
Coordinate-, image-, and effect-size-based meta-analysis estimators.
Image-based meta-analysis estimators. |
|
CBMA methods from the activation likelihood estimation (ALE) family. |
|
CBMA methods from the multilevel kernel density analysis (MKDA) family. |
|
CBMA methods from the ALE and MKDA families. |
|
Kernel transformers for CBMA algorithms. |
nimare.results
: Meta-analytic results
Tools for managing meta-analytic results.
|
Base class for meta-analytic results. |
nimare.correct
: Multiple comparisons correction
Multiple comparisons correction methods.
|
Perform family-wise error rate correction on a meta-analysis. |
|
Perform false discovery rate correction on a meta-analysis. |
nimare.annotate
: Automated annotation
Automated annotation tools.
Automated annotation of Cognitive Atlas labels. |
|
Topic modeling with generalized correspondence latent Dirichlet allocation. |
|
Topic modeling with latent Dirichlet allocation via MALLET. |
|
Text extraction tools. |
|
Utility functions for ontology tools. |
nimare.decode
: Functional characterization analysis
For more information about functional characterization analysis, see Meta-analytic functional decoding.
Functional decoding tools.
Methods for decoding subsets of voxels or experiments into text. |
|
Methods for decoding unthresholded brain maps into text. |
|
Methods for encoding text into brain maps. |
nimare.io
: Input/Output
Input/Output operations.
|
Convert Neurosynth/NeuroQuery database files to a dictionary. |
|
Convert Neurosynth/NeuroQuery dataset text file to a NiMARE json file. |
|
Convert Neurosynth/NeuroQuery database files into NiMARE Dataset. |
|
Convert Sleuth text file to a dictionary. |
|
Convert Sleuth output text file into json. |
|
Convert Sleuth output text file into NiMARE Dataset. |
|
Convert a group of NeuroVault collections into a NiMARE Dataset. |
nimare.transforms
: Data transforms
Miscellaneous spatial and statistical transforms.
|
A class to create new images from existing ones within a Dataset. |
Transformer from images to coordinates. |
|
|
Generate images of a given type from other image types and write out to files. |
|
Determine and apply the appropriate transforms to a target image type from available data. |
|
Calculate degrees of freedom from a list of sample sizes using a simple heuristic. |
Calculate appropriate sample size from a list of sample sizes using a simple heuristic. |
|
|
Convert standard deviation to sampling variance. |
Convert standard error values to sampling variance. |
|
Convert "sample variance of the dataset" to "sampling variance". |
|
|
Convert t-statistic to parameter estimate using sampling variance. |
|
Convert t-statistic to sampling variance using parameter estimate. |
|
Convert p-values to (unsigned) z-values. |
|
Convert t-statistics to z-statistics. |
|
Convert z-statistics to t-statistics. |
|
Convert z-values to p-values. |
nimare.extract
: Dataset and model fetching
For more information about fetching data from the internet, see Fetching resources from the internet.
Dataset and trained model downloading functions.
|
Download the latest data files from NeuroQuery. |
|
Download the latest data files from NeuroSynth. |
|
Download NIDM Results for 21 pain studies from NeuroVault for tests. |
|
Download the MALLET toolbox for LDA topic modeling. |
|
Download Cognitive Atlas ontology and extract IDs and relationships. |
|
Download the abstracts for a list of PubMed IDs. |
Download the trained Peaks2Maps model from OHBM 2018. |
|
|
Return the directories in which NiMARE looks for data. |
nimare.stats
: Statistical functions
Various statistical helper functions.
|
One-way chi-square test of independence. |
|
Two-way chi-square test of independence. |
|
Correlate row vector x with each row vector in 2D array y, quickly. |
|
Return p-value for test value(s) against null array. |
|
Return one-sided p-value for test value against null histogram. |
|
Determine FDR threshold given a p value array and desired false discovery rate q. |
nimare.generate
: Data generation functions
Utilities for generating data for testing.
|
Generate coordinate based dataset for meta analysis. |
Download images from NeuroVault and use them to create a dataset. |
nimare.utils
: Utility functions and submodules
Utility functions for NiMARE.
|
Load a given data type in NIMADS-format dictionary into DataFrame. |
|
Load coordinates in NIMADS-format dictionary into DataFrame. |
Check that an input is a DataFrame and has a column for 'id'. |
|
|
Check and update image paths in DataFrame. |
|
Load template file. |
|
Get an initialized, fitted nilearn Masker instance from passed argument. |
|
Wrap all non-list or tuple objects in a list. |
|
Round X.5 to the nearest integer away from zero. |
Return the path to general resources, terminated with separator. |
|
|
Try to prepend a value to a string with a separator ('/'). |
|
Find longest common substring in array of strings. |
|
Convert UK spellings to US based on a converter. |
|
Memory-map array to a file, and perform cleanup after. |
|
Add metadata from a Dataset to a DataFrame. |
|
Check variable type and initialize if necessary. |
|
Convert matrix subscripts to coordinates. |
|
Convert coordinates to matrix subscripts. |
|
Convert coordinates from Talairach space to MNI space. |
|
Convert coordinates from MNI space Talairach space. |
nimare.workflows
: Common workflows
Common meta-analytic workflows.
|
Perform ALE meta-analysis from Sleuth text file. |
|
Run a contrast permutation workflow. |
|
Perform MACM with ALE algorithm. |
|
Run the peaks2maps workflow. |
|
Perform SCALE meta-analysis from Sleuth text file or NiMARE json file. |
nimare.base
: Base classes
Base classes for NiMARE.
Base class for NiMARE. |
|
Estimators take in Datasets and return MetaResults. |
|
|
Base class for meta-analysis methods in |
Transformers take in Datasets and return Datasets. |
|
Base class for decoders in |