Neuromaps plugin

Authors: Le Thuy Duong Nguyen, Raymundo Cassani, Jason da Silva Castanheira

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.

https://neuroimage.usc.edu/brainstorm/Tutorials/Neuromaps?action=AttachFile&do=get&target=table_bst-neuromaps.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

In the bst-neuromaps plugin, the surface annotations are projected from the FsAverage cortex to the MNI ICBM152 cortex with 15,002 vertices, which is the recommended default anatomy in Brainstorm.

Visualizing brain annotations

Once you have fetched the brain annotations, a new subject neuromaps which uses the default Brainstorm anatomy MNI ICBM152 anatomy will appear in the Brainstorm database. Note that the surface annotations are distributed for the cortical surface with 15,002 vertices.

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:

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. The figure below shows the left and top views of the brain annotation Dopamine: D1_sch23390_kaller2017_N13_Age33 without and with different cortical parcellations. Only the borders of the Scouts are shown to avoid distorting the underlying color.

parcellations2.gif

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 it is possible to use the Extract > Scout time series as

pipeline_scout.png scout_process.png

The result is a matrix file () with one value for Scout.

Spatial correlation

One of the main advantages of having these brain annotations in a common coordinate system is that we can statistically compare (with 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.

Time-defined spatial correlation

Spatial correlation is performed between two brain maps, A and B, which can be time-defined, i.e., comprise more than one time sample. In the case of brain annotations, they consist of only-one time sample. However, this is necessarily the case of the brain activity maps (source maps). Thus, when performing spatial correlations, depending on the number of time samples in maps A and B there are three possible scenarios:

💡 For the scenarios with more than one time sample, while spatial autocorrelation is handled with the spin test for each time point, temporal autocorrelation is not corrected.

Examples

The examples provided in this section to demonstrate the use of the bst-neuromaps plugins are based on the based on the sources estimations obtained with the introduction dataset, and can be followed by completing all steps of the Brainstorm Get-started tutorials up to and including tutorial 22: Source estimation.

Spatial correlation between brain annotations

This examples show how to perform the spatial correlation between annotation maps, using the spin test to estimate the p-value of the correlation. Here we use only 50 for sake of computation time, as each spin can take few seconds.

Once brain annotations have been fetches into Brainstorm as mentioned in the importing brain annotations section above.

The process will return one statistic matrix file () named Brain map corr, it contains the correlation value between the maps Acetylcholine: VaCht_feobv_aghourian2017_N18_Age67 and Acetylcholine: VaCht_feobv_bedard2019_N5_Age68.

* Right-click on the result file, and select File > View file contents. The window that is opened shows correlation value (field tmap) and its associated p-value (field pmap).

Spatial correlation with brain annotations

Now, let's compute the spatial correlation between an time average source map and all the available brain annotations. For sake of time, the spin-test is not performed.

If the requested brain annotations were not fetched yet. This process first fetches the brain annotations, and then performs the requested spatial correlation. The process will return one statistic matrix file () named Brain map corr for each of the source files to process. Right-click on the outcome file and select Display as table to see the correlation values between the source file and each of the brain annotations. Since there was no spin test, the correlation values are uncorrected.

Spatial correlation between source maps

The process will return one statistic matrix file () named Brain map corr_02, it contains the AxB correlation value for each time sample in files. Double-click the resulting file to open it as a time series. Both source files are the average of different auditory stimuli, however, we can notice that the larger correlation value is obtained around 100 ms which corresponds to the bilateral auditory response in both conditions.

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-11-01 17:20:31 by RaymundoCassani)