Interactive data exploration websites for large-scale electrophysiology

Daniel Birman, Gaëlle Chapuis, Mayo Faulkner, Cyrille Rossant, Julius Benson, Joana Catarino, Anne K. Churchland, Fei Hu, Julia M. Huntenburg, Anup Khanal, Christopher Krasniak, Petrina Lau, Guido T. Meijer, Nathaniel J Miska, Jean‐Paul Noel, Alejandro Pan-Vazquez, Noam Roth, Michael Schartner, Karolina Socha, Nicholas A. Steinmetz, Anne E Urai, Miles J. Wells, Steven J. West, Olivier WinterbioRxiv 2024

Abstract

Methodological advances in neuroscience have enabled the collection of massive datasets which demand innovative approaches for scientific communication. Existing platforms for data storage lack intuitive tools for data exploration, limiting our ability to interact effectively with these brain-wide datasets. We introduce two public websites: (Data and Atlas) developed for the International Brain Laboratory which provide access to millions of behavioral trials and hundreds of thousands of individual neurons. These interfaces allow users to discover both the raw and processed brain-wide data released by the IBL at the scale of the whole brain, individual sessions, trials, and neurons. By hosting these data interfaces as websites they are available cross-platform with no installation. By releasing each site's code as a modular open-source framework, other researchers can easily develop their own web interfaces and explore their own data. As neuroscience datasets continue to expand, customizable web interfaces offer a glimpse into a future of streamlined data exploration and act as blueprints for future tools.

The Challenge of Big Data in Neuroscience

Modern neuroscience is in the midst of a "big data" explosion. Methodological advances now allow researchers to record from thousands of neurons across multiple brain regions simultaneously. However, while platforms like DANDI or OpenNeuro are excellent for storing these massive datasets, they often lack the tools to explore them intuitively.

Currently, a researcher often has to download hundreds of gigabytes of data and write custom code just to determine if a specific recording session is relevant to their work. This creates a high barrier to entry for data reuse and slows down the collaborative process. The International Brain Laboratory (IBL) addresses this by creating a "portal" that allows for instant, cross-platform visualization of complex neural and behavioral data without any local installation.

Methods: A Modular Open-Source Framework

The authors developed a modular, open-source framework consisting of two primary websites:

  • The Data Website: Built using an HTML/CSS/Javascript frontend that communicates with a Flask (Python) backend via a REST API. It uses Algolia for high-speed searching of metadata. To keep the interface snappy, the site dynamically swaps static PNG images of neural plots on the client side based on user selection.
  • The Atlas Website: Focused on anatomical context, this site visualizes processed results across the whole brain. It transforms the Allen Common Coordinate Framework (CCF) into interactive 2D slices and "Swanson" flatmaps using SVG vector formats.
  • Interactive 3D Elements: Both sites integrate Urchin, a tool built on the Unity Real-Time Development Platform and exported via WebGL. This allows users to rotate 3D brain models to see probe insertions or watch 3D "replays" of a mouse’s behavior.
The Data website provides a hierarchical interface for exploring sessions, trials, and individual neuron clusters.

Key Insights and Ideas

Multi-Scale Navigation

The genius of the system is its hierarchy. A user can start at the "Atlas" level to see which brain regions show an effect, click into a specific "Session" to see the raw data quality, drill down into a single "Trial" to see behavioral videos, and finally inspect a single "Neuron" to see its specific firing pattern.

The "Share" Button as a Research Tool

The websites generate unique, permanent URLs for any specific configuration of data. This allows researchers to "bookmark" a specific interesting neuron or a data quality concern and send it directly to a colleague, much like sharing a Google Maps pin.

The Atlas website offers interactive 3D, 2D, and flattened (Swanson) views of the mouse brain for anatomical data exploration.

Key Results

The platforms are populated with data from the IBL's Brain-wide Map, including millions of behavioral trials and hundreds of thousands of individual neuron clusters. Key results include:

  • Accessibility: The tools provide a "no-install" entry point for students and experts alike to interact with IBL data.
  • Standardization: The framework encourages data standardization; for an experiment to be compatible with the Data template, it must be organized into clear "sessions," "trials," and "units."
  • Functionality: The Data site successfully integrates search, 3D probe visualization, session-level quality control metrics, and trial-level behavioral replays.

Conclusion

While building these custom interactive tools is currently resource-intensive, the IBL has provided an open-source blueprint for the community. Future work involves refining the API to make it even easier for external labs to "plug and play" their data into these templates. The ultimate goal is for these platforms to serve as a benchmark for how the neuroscience community communicates large-scale findings in the future.

Summary updated

BibTeX
@misc{birman2024interactive,
  author = {Daniel Birman and Gaëlle Chapuis and Mayo Faulkner and Cyrille Rossant and Julius Benson and Joana Catarino and Anne K. Churchland and Fei Hu and Julia M. Huntenburg and Anup Khanal and Christopher Krasniak and Petrina Lau and Guido T. Meijer and Nathaniel J Miska and Jean‐Paul Noel and Alejandro Pan-Vazquez and Noam Roth and Michael Schartner and Karolina Socha and Nicholas A. Steinmetz and Anne E Urai and Miles J. Wells and Steven J. West and Olivier Winter},
  title = {{Interactive data exploration websites for large-scale electrophysiology}},
  year = {2024},
  doi = {10.1101/2024.06.07.597950},
  howpublished = {bioRxiv},
}
Figure