The natverse, a versatile toolbox for combining and analysing neuroanatomical data

  1. Alexander S Bates
  2. James D Manton
  3. Sridhar R Jagannathan
  4. Marta Costa
  5. Philipp Schlegel
  6. Torsten Rohlfing
  7. Gregory SXE Jefferis  Is a corresponding author
  1. MRC Laboratory of Molecular Biology, United Kingdom
  2. University of Cambridge, United Kingdom
  3. SRI International, Neuroscience Program, United States

Abstract

To analyse neuron data at scale, neuroscientists expend substantial effort reading documentation, installing dependencies and moving between analysis and visualisation environments. To facilitate this, we have developed a suite of interoperable open-source R packages called the natverse. The natverse allows users to read local and remote data, perform popular analyses including visualisation and clustering and graph-theoretic analysis of neuronal branching. Unlike most tools, the natverse enables comparison across many neurons of morphology and connectivity after imaging or co-registration within a common template space. The natverse also enables transformations between different template spaces and imaging modalities. We demonstrate tools that integrate the vast majority of Drosophila neuroanatomical light microscopy and electron microscopy connectomic datasets. The natverse is an easy-to-use environment for neuroscientists to solve complex, large-scale analysis challenges as well as an open platform to create new code and packages to share with the community.

Data availability

All code is described at natverse.org which links to individual git repositories at github.com/natverse.

Article and author information

Author details

  1. Alexander S Bates

    Neurobiology Division, MRC Laboratory of Molecular Biology, Cambridge, United Kingdom
    Competing interests
    The authors declare that no competing interests exist.
    ORCID icon "This ORCID iD identifies the author of this article:" 0000-0002-1195-0445
  2. James D Manton

    Neurobiology Divison, MRC Laboratory of Molecular Biology, Cambridge, United Kingdom
    Competing interests
    The authors declare that no competing interests exist.
    ORCID icon "This ORCID iD identifies the author of this article:" 0000-0001-9260-3156
  3. Sridhar R Jagannathan

    Department of Zoology, University of Cambridge, Cambridge, United Kingdom
    Competing interests
    The authors declare that no competing interests exist.
  4. Marta Costa

    Department of Zoology, University of Cambridge, Cambridge, United Kingdom
    Competing interests
    The authors declare that no competing interests exist.
    ORCID icon "This ORCID iD identifies the author of this article:" 0000-0001-5948-3092
  5. Philipp Schlegel

    Division of Neurobiology, MRC Laboratory of Molecular Biology, Cambridge, United Kingdom
    Competing interests
    The authors declare that no competing interests exist.
    ORCID icon "This ORCID iD identifies the author of this article:" 0000-0002-5633-1314
  6. Torsten Rohlfing

    SRI International, Neuroscience Program, Menlo Park, United States
    Competing interests
    The authors declare that no competing interests exist.
  7. Gregory SXE Jefferis

    Neurobiology Division, MRC Laboratory of Molecular Biology, Cambridge, United Kingdom
    For correspondence
    jefferis@mrc-lmb.cam.ac.uk
    Competing interests
    The authors declare that no competing interests exist.
    ORCID icon "This ORCID iD identifies the author of this article:" 0000-0002-0587-9355

Funding

Medical Research Council (MC-U105188491)

  • Alexander S Bates
  • James D Manton
  • Gregory SXE Jefferis

H2020 European Research Council (649111)

  • Alexander S Bates
  • James D Manton
  • Marta Costa
  • Gregory SXE Jefferis

Wellcome (203261/Z/16/Z)

  • Sridhar R Jagannathan
  • Marta Costa
  • Philipp Schlegel
  • Gregory SXE Jefferis

Boehringer Ingelheim Fonds

  • Alexander S Bates

Herchel Smith Fund

  • Alexander S Bates

Fitzwilliam College

  • James D Manton

The funders had no role in study design, data collection and interpretation, or the decision to submit the work for publication.

Copyright

© 2020, Bates et al.

This article is distributed under the terms of the Creative Commons Attribution License permitting unrestricted use and redistribution provided that the original author and source are credited.

Metrics

  • 4,975
    views
  • 651
    downloads
  • 177
    citations

Views, downloads and citations are aggregated across all versions of this paper published by eLife.

Download links

A two-part list of links to download the article, or parts of the article, in various formats.

Downloads (link to download the article as PDF)

Open citations (links to open the citations from this article in various online reference manager services)

Cite this article (links to download the citations from this article in formats compatible with various reference manager tools)

  1. Alexander S Bates
  2. James D Manton
  3. Sridhar R Jagannathan
  4. Marta Costa
  5. Philipp Schlegel
  6. Torsten Rohlfing
  7. Gregory SXE Jefferis
(2020)
The natverse, a versatile toolbox for combining and analysing neuroanatomical data
eLife 9:e53350.
https://doi.org/10.7554/eLife.53350

Share this article

https://doi.org/10.7554/eLife.53350

Further reading

    1. Computational and Systems Biology
    Jun Ren, Ying Zhou ... Qiyuan Li
    Research Article

    Manifold-learning is particularly useful to resolve the complex cellular state space from single-cell RNA sequences. While current manifold-learning methods provide insights into cell fate by inferring graph-based trajectory at cell level, challenges remain to retrieve interpretable biology underlying the diverse cellular states. Here, we described MGPfactXMBD, a model-based manifold-learning framework and capable to factorize complex development trajectories into independent bifurcation processes of gene sets, and thus enables trajectory inference based on relevant features. MGPfactXMBD offers a more nuanced understanding of the biological processes underlying cellular trajectories with potential determinants. When bench-tested across 239 datasets, MGPfactXMBD showed advantages in major quantity-control metrics, such as branch division accuracy and trajectory topology, outperforming most established methods. In real datasets, MGPfactXMBD recovered the critical pathways and cell types in microglia development with experimentally valid regulons and markers. Furthermore, MGPfactXMBD discovered evolutionary trajectories of tumor-associated CD8+ T cells and yielded new subtypes of CD8+ T cells with gene expression signatures significantly predictive of the responses to immune checkpoint inhibitor in independent cohorts. In summary, MGPfactXMBD offers a manifold-learning framework in scRNA-seq data which enables feature selection for specific biological processes and contributing to advance our understanding of biological determination of cell fate.

    1. Computational and Systems Biology
    2. Genetics and Genomics
    Daniel Hui, Scott Dudek ... Marylyn D Ritchie
    Research Article

    Apart from ancestry, personal or environmental covariates may contribute to differences in polygenic score (PGS) performance. We analyzed the effects of covariate stratification and interaction on body mass index (BMI) PGS (PGSBMI) across four cohorts of European (N = 491,111) and African (N = 21,612) ancestry. Stratifying on binary covariates and quintiles for continuous covariates, 18/62 covariates had significant and replicable R2 differences among strata. Covariates with the largest differences included age, sex, blood lipids, physical activity, and alcohol consumption, with R2 being nearly double between best- and worst-performing quintiles for certain covariates. Twenty-eight covariates had significant PGSBMI–covariate interaction effects, modifying PGSBMI effects by nearly 20% per standard deviation change. We observed overlap between covariates that had significant R2 differences among strata and interaction effects – across all covariates, their main effects on BMI were correlated with their maximum R2 differences and interaction effects (0.56 and 0.58, respectively), suggesting high-PGSBMI individuals have highest R2 and increase in PGS effect. Using quantile regression, we show the effect of PGSBMI increases as BMI itself increases, and that these differences in effects are directly related to differences in R2 when stratifying by different covariates. Given significant and replicable evidence for context-specific PGSBMI performance and effects, we investigated ways to increase model performance taking into account nonlinear effects. Machine learning models (neural networks) increased relative model R2 (mean 23%) across datasets. Finally, creating PGSBMI directly from GxAge genome-wide association studies effects increased relative R2 by 7.8%. These results demonstrate that certain covariates, especially those most associated with BMI, significantly affect both PGSBMI performance and effects across diverse cohorts and ancestries, and we provide avenues to improve model performance that consider these effects.