Neuromaps plugin

Authors: Le Thuy Duong Nguyen, Raymundo Cassani

Please note that this tutorial page is currently under construction.

The neuromaps plugin for Brainstorm (bst-neuromaps) integrates curated brain annotations (also referred to as brain maps) and tools to further expand the accessibility and inclusivity of brain-mapping tools, as part of an Open Science initiative. We extend these pioneering tools to the Brainstorm environment for users without any prior computer programming experience, providing an intuitive graphic user interface. This approach eliminates barriers of entry for researchers, fostering a more inclusive research community.

The present tutorial will demonstrate the plugin’s functionality within the Brainstorm interface; for a detailed breakdown of the algorithm, please refer to the neuromaps plugin GitHub.

Introduction

Neuromaps is a Python toolbox designed for assessing, transforming, and analyzing structural and functional brain annotations (Markello, Hansen et al., 2022). It marks a significant stride towards integrative analytics in multimodal, multiscale neuroscience by bridging the gap between various neuroimaging modalities and proposing analytical tools to establish connections among different brain features. The toolbox comprises a curated repository of brain annotations in their native space, methods for generating transformations across multiple coordinate systems, and offers a systematic workflow for comprehensive structural and functional annotation enrichment analysis of the human brain.

With the bst-neuromaps plugin we aim to bring annotations from the neuromaps toolbox in to Brainstorm, and provide additional methods for their analysis. The plugin takes advantage of the Brainstorm GUI to enhance accessibility, especially for researchers who may not be familiar with command-line interfaces or programming languages such as Python.

For the first iteration of the implementation of the bst-neuromaps plugin, we focused on the neurotransmitter receptors and transporters. Twenty-six different annotations from the neuromaps toolbox were selected, covering nine different neurotransmitter systems: acetylcholine, cannabinoid, dopamine, GABA, glutamate, histamine, norepinephrine, opioid, and serotonin. These brain annotations are sourced from open-access repositories, addressing the need for a comprehensive tool that integrates standardized analytic workflows for neuroimaging data.

Key features

All the information for these maps, including the appropriate citations to use can be found in this spreadsheet.

table_bst-neuromaps_BW.png

Install

Being a Brainstorm plugin, the bst-neuromaps plugin can be installed, updated and removed directly from the Brainstorm GUI. For further information, see the plugins tutorial.

By following these steps, you will successfully install the bst-neuromaps plugin.

Importing brain annotations

Visualizing brain annotations

Once you have fetched the brain annotations, a new subject Neuromaps which uses the default FsAverage anatomy will appear in the Brainstorm database.

All the imported brain annotations will be visible in the Functional data in the Neuromaps subject. Brain annotation are grouped in folders according to the neurotransmitter.

Visualization capabilities

Implementing neuromaps directly into Brainstorm further enhances the overall user experience by providing greater flexibility and control over the visualization and analysis of brain annotations. Brainstorm's advanced functionalities allow users to effortlessly rotate the brain annotations, zoom in and out, reposition them, obtain the coordinates for any point, take snapshots, adjust the transparency, and more.

The ‘Surface’ tab of the Brainstorm window contains buttons and sliders to control the display of these surfaces. Additional relevant functionalities, as outlined in Tutorial 3: Display the Anatomy, include:

Colormap

The default colormap upon opening the brain annotation is royal_gramma, but you have the option to set it to other sequential, diverging, or rainbow colormaps. Simply right-click on the brain annotation window, navigate to Colormap: Sources > Colormap.

Creating weighted-averaged brain annotations

Neurotransmitter annotations that have the same tracer (e.g., Serotonin: 5-HT1b_p943_gallezot2010_N23_Age29 and Serotonin: 5-HT1b_p943_savli2012_N23_Age29 have the same p943 tracer) can be combined to obtain a larger sample size for your analysis. To accomplish this, you can perform a weighted average. In the same way you selected the fetching process:



WAvg_result_5HT1b.png

To visualize this new weighted-averaged annotation, follow the same steps as with any brain annotation. Either double-click on the file or right-click > Cortical activations > Display on cortex.

By default, the new weighted-averaged file is named WAvg: followed by the number of files averaged. If you wish to rename this or any other file to provide more informative labels for your analysis, follow these steps:

Alternatively, you can right-click > File > Rename.

Parcellations

Parcellations are know as Scouts in the Brainstorm jargon. Please refer to Tutorial 23: Scouts for a more in-depth guide in creating, manipulating, and analyzing scouts for effective exploration and comparison of brain activity across different experimental conditions and regions of interest.

parcellations2.png

So far our annotations have a value for each vertex on the cortical surface. However, it is common to summarize the these values using Scouts. To do so:

pipeline_scout.png scout_process.png

Statistical analysis

One of the main advantages of having these brain annotations in a common coordinate system is that we can statistically compare (spatial correlation) their spatial topographies. However, most statistical analyses (e.g., Pearson correlation) assume that the values of observations in each sample are independent of one another. Spatial autocorrelation violates this assumption because samples taken from nearby areas are related to each other and are not independent. Spatially-naive null models, both parametric and non-parametric, yield inflated p-values and are inappropriate for significance testing of neuroimaging brain maps. When applied to spatially-autocorrelated brain maps typical of most neuroimaging data, these models approach a false positive rate higher than 75% and their usage in the field is discouraged (Markello, R. D., & Misic, B., 2021). We therefore use spatially informed null models to benchmark the statistical unexpectedness of specific features of interest.

Spin test

Building on previous studies that assess the accuracy and computational efficiency of these models, we have selected the non-parametric method as the default for surface data and implemented the most widely adopted of these approaches, which involves randomizing the anatomical alignment between two cortical surface maps through spherical rotation by a random angle. This method is also know as spin-test, where each "spin" is a randomized rotation between the cortical maps (Alexander-Bloch et al., 2018).

According to the literature, null models converge quickly, reaching stable statistical estimates after approximately 100–500 nulls (Markello, R. D., & Misic, B. 2021). Researchers can use this information to balance accuracy and computational feasibility when determining the number of nulls for their analysis.

Our recommendation is to generate 1000 nulls to establish a reliable null distribution of correlation coefficients and to estimate the two-tailed p-value for the original correlation between the pair of maps.

A spatial null model is enabled by default to encourage their broader adoption but users can easily revert to an uncorrected correlation by setting the number of spins (nulls) to zero.

[TODO] image to example of spin test.

Types of correlation

In general brain annotations consist of only-one time sample. So it does not change with time. However, this is necessarily the case of the brain activity maps (source maps) that we want to compare. As such the bst-neuromaps plugin allows comparisons between map A and maps B that can have different number of time samples as follows:

Example

This are based on the results of the introduction tutoprial. Please follow it, at least until tutorial XX.

We will exemplify the use of the process in the bst-neuromaps plugin.

Spatial correlation with brain annotations

The result is an statistical file, see the options in here.

Spatial correlation with any files

The result is an statistical file, see the options in here.

Advanced

On the hard drive

The resulting file is an matrix statistic file (), as such follows the same organization as described in here.

Right click on the stat matrix file that results from running spatial correlations > File > View file contents.

Description of the fields

Useful functions

* These processes are part of the bst-neuromaps plugin.

Applications for integrative research

The bst-neuromaps plugin opens up new and exciting avenues for research and can help address questions that depend crucially on anatomical localization. Below, we explore some potential uses of the plugin in advancing integrative research, supported by examples from the literature.

Annotating structural connectomes

Identification of specific neurochemical targets for potential future clinical treatments

Acknowledgements

Contributing

We welcome contributions from the community to help improve and expand the functionality of the Neuromaps plugin. Feel free to submit pull requests on the GitHub repository, report issues, or provide suggestions below! Your feedback is invaluable in ensuring a user-friendly experience for researchers worldwide. We believe that open science is most impactful when the countless everyone is provided with equal access to the newest and greatest resources in the field.





Feedback: Comments, bug reports, suggestions, questions
Email address (if you expect an answer):


Tutorials/Neuromaps (last edited 2024-08-29 21:16:04 by RaymundoCassani)