OSCR

Morphological and anatomical variations in subcortical anatomy between humans and chimpanzees associated with heritability patterns related to human behavioral traits.

Code ↔ Paper

5 matches between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

5 blocks of code here have a permanent identifier (oscr:b:…), listed with the matches below: citable for good, with a page of its own. Select a match and press Cite to copy it. What a block identifier is.

The 5 matches
  1. [1] § Materials and methods › Interspecies analysis: vertex-wise shape differences between humans and chimpanzees ↔ src/object_volume_dot_product.c, lines 1 to 10 · score 0.74 · volume dot product, deformation vector, surface normals · block oscr:b:7YSFJKWM79V8S-I · Report a mismatch
  2. [2] § Materials and methods › Intraspecies analysis: partial least squares correlation (PLSC) analysis in the Human Connectome Project (HCP) sampleσ ↔ pyls/types/behavioral.py, lines 245 to 294 · score 0.72 · linear combination, covariance matrix, brain features, covaries, singular, Pyls · block oscr:b:41J67AN1QT1GS-F · Report a mismatch
  3. [3] § Materials and methods › Intraspecies analysis: partial least squares correlation (PLSC) analysis in the Human Connectome Project (HCP) sampleσ ↔ pyls/base.py, lines 438 to 527 · score 0.70 · bootstrap ratio, standard error, bootstrap resampling, SVD, singular, matrix · block oscr:b:4BT2E2BFVT7Q6-T · Report a mismatch
  4. [4] § Materials and methods › Intraspecies analysis: partial least squares correlation (PLSC) analysis in the Human Connectome Project (HCP) sampleσ ↔ pyls/types/regression.py, lines 56 to 186 · score 0.64 · linear combination, covariance matrix, residualized, algorithm, Squares, scored · block oscr:b:BNWYVTE9Q0WK2-R · Report a mismatch
  5. [5] § Materials and methods › Intraspecies analysis: partial least squares correlation (PLSC) analysis in the Human Connectome Project (HCP) sampleσ ↔ pyls/structures.py, lines 1 to 60 · score 0.54 · bootstrap resampling, reliability, SVD, singular, permutation, LV · block oscr:b:XMPT0JG33F4GR-P · Report a mismatch

Paper

Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC

The paper is loaded when this pane is shown.

The authors' code

C · 87 lines · 2.6 KB · BSD-3-Clause · 1 match

  1. /* takes the dot product between a length of 3 deformation vector in a
  2. 4D volume and the surface normals of a polyhedral object.
  3. Author: Jason Lerch <[email hidden]>
  4. */
  5. #define HAVE_MINC2 1
  6. #include <volume_io.h>
  7. #include <bicpl.h>
  8. #include <stdio.h>
  9. int main(int argc, char *argv[]) {
  10. VIO_Volume grid_volume;
  11. VIO_File_formats format;
  12. VIO_Real dot_product, interp_values[3];
  13. object_struct **objects;
  14. int n_objects, sizes[VIO_MAX_DIMENSIONS], n_points, i;
  15. VIO_Vector *normals;
  16. polygons_struct *polygons;
  17. VIO_STR obj_filename, mnc_filename, output_filename;
  18. FILE *file;
  19. VIO_Point *points;
  20. /* get input arguments */
  21. initialize_argument_processing(argc, argv);
  22. if (!get_string_argument(NULL, &obj_filename) ||
  23. !get_string_argument(NULL, &mnc_filename) ||
  24. !get_string_argument(NULL, &output_filename)) {
  25. fprintf(stderr, "Usage: object_volume_dot_product polyhedra.obj displacement.mnc output.txt\n");
  26. return(1);
  27. }
  28. /* open the obj file */
  29. if (input_graphics_file(obj_filename,
  30. &format, &n_objects, &objects ) != VIO_OK ) {
  31. return( 1 );
  32. }
  33. /* make sure data is polygons */
  34. if( n_objects != 1 || get_object_type(objects[0]) != POLYGONS ) {
  35. fprintf(stderr, "File must contain exactly 1 polygons struct.\n" );
  36. return( 1 );
  37. }
  38. polygons = get_polygons_ptr(objects[0]);
  39. n_points = get_object_points(objects[0], &points);
  40. normals = polygons->normals;
  41. /* open the displacement volume */
  42. if (input_volume(mnc_filename, 4, NULL, MI_ORIGINAL_TYPE, FALSE, 0.0, 0.0,
  43. TRUE, &grid_volume, (minc_input_options *)NULL) != VIO_OK) {
  44. return(1);
  45. }
  46. get_volume_sizes(grid_volume, sizes);
  47. /* open the output file */
  48. if( open_file(output_filename, WRITE_FILE, ASCII_FORMAT, &file ) != VIO_OK ) {
  49. return( 1 );
  50. }
  51. for (i = 0; i < n_points; i++) {
  52. evaluate_volume_in_world(grid_volume, Point_x(points[i]),
  53. Point_y(points[i]), Point_z(points[i]),
  54. -1, TRUE, 0.0, interp_values,
  55. NULL, NULL, NULL, NULL, NULL, NULL,
  56. NULL, NULL, NULL);
  57. dot_product = Vector_x(normals[i]) * interp_values[0];
  58. dot_product += Vector_y(normals[i]) * interp_values[1];
  59. dot_product += Vector_z(normals[i]) * interp_values[2];
  60. /*
  61. printf("%f %f %f %f %f %f %f\n", Vector_x(normals[i]),
  62. Vector_y(normals[i]), Vector_z(normals[i]),
  63. interp_values[0], interp_values[1], interp_values[2],
  64. dot_product);
  65. */
  66. (void) output_real(file, dot_product);
  67. (void) output_newline(file);
  68. }
  69. (void) close_file(file);
  70. return(0);
  71. }

object_volume_dot_product.c at commit 0bfb834, under BSD-3-Clause · at the source

Overview

Authors: Nadia Blostein1,2,3, Gabriel A Devenyi1,4, Sejal Patel1,5, Raihaan Patel1,6, Stephanie Tullo1,2, Eric Plitman1,4, Manuela Costantino1,7, Ross Markello2, Olivier Parent1,2, Saashi A Bedford1,8, Chet C Sherwood9, William D Hopkins10, Alyssa Dai1,2, Jakob Seidlitz11,12, Armin Raznahan13, M Mallar Chakravarty1,2,4,6
13 affiliations
  1. Cerebral Imaging Centre, Douglas Mental Health University Institute, Verdun, QC Canada
  2. Integrated Program in Neuroscience, McGill University, Montreal, QC Canada
  3. NeuroPoly, Polytechnique Montreal, Montreal, QC Canada
  4. Department of Psychiatry, McGill University, Montreal, QC Canada
  5. Krembil Centre for Neuroinformatics, Centre for Addiction and Mental Health, Toronto, On Canada
  6. Department of Biological and Biomedical Engineering, McGill University, Montreal, QC Canada
  7. Undergraduate program in Neuroscience, McGill University, Montreal, QC Canada
  8. Autism Research Centre, University of Cambridge, Cambridge, UK
  9. Department of Anthropology and Center for the Advanced Study of Human Paleobiology, The George Washington University, Washington, DC, USA
  10. Department of Comparative Medicine, University of Texas MD Anderson Cancer Center, Bastrop, TX USA
  11. Department of Psychiatry, University of Pennsylvania Perelman School of Medicine, Philadelphia, PA USA
  12. Lifespan Brain Institute of the Children’s Hospital of Philadelphia and Penn Medicine, Philadelphia, PA USA
  13. National Institute of Mental Health, United States Department of Health and Human Services, North Bethesda, MD USA
Journal: Communications biology, volume 9, issue 1, article 852
Dates: received 23 June 2025; accepted 6 April 2026; published online 21 April 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1038/s42003-026-10066-6 · PMID 42014585 · PMCID PMC13284390 · OpenAlex W7155102164
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: genetics / omics (modality), human (organism), non-human primate (organism), cognitive (subfield)
Methods: Connectivity, Statistics, Preprocessing, Machine learning, Smoothing, state filtering, decompositions
Keywords: Computational neuroscience, Cognitive neuroscience
MeSH: Brain*, Pan troglodytes*, Thalamus*, Adult, Animals, Female, Humans, Magnetic Resonance Imaging, Male, Species Specificity (* major topic)
Topic: Functional Brain Connectivity Studies (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: Canadian Network for Research and Innovation in Machining Technology, Natural Sciences and Engineering Research Council of Canada; Fonds de Recherche du Québec-Société et Culture; Gouvernement du Canada | Instituts de Recherche en Santé du Canada | CIHR Skin Research Training Centre
Citations: cited by 1 paper (Europe PMC); 152 references in the paper

Abstract

There has been significant research on cortical reorganization in human evolution, but much less is known about the reorganization of subcortical circuits, key partners of the cortex. Here, using advanced image analysis and comparative neuroimaging, we systematically map organizational differences in striatal, pallidal, and thalamic anatomy between humans and chimpanzees. We relate interspecies differences—proxies for evolutionary change—to genetics and behavioral correlates in humans. We show highly heritable morphological measures are expanded across species, contrasting previous cortical findings. Multivariate techniques identified morphological-cognitive latent variables linked to striatal expansion and affective variables specifically associated with conserved thalamic and pallidal regions. Our results confirm that regions tied to higher-order cognitive functions are expanded in humans, whereas regions linked to lower-order limbic functions are conserved. These findings provide new insights into subcortical architecture. Additionally, we developed tools to map neuroimaging data across species, a prerequisite for quantitatively translating animal neuroanatomy to humans.

Reproduced under the paper's license (CC BY), from the paper cited above.

Repositories

Its files are read in the Code ↔ Paper reader above, with 5 matches between paragraphs and lines of code.

CoBrALab/MAGeTbrain

License: other
State: the link answers, verified on 9 November 2026
Evidence: files inventoried
Commit: db4a7b1446d64d0cfd099e882d351f0d423cf4e2, 18 June 2024
Languages: Python (3), Shell (2)
Size: 23 files, 5 scripts
Software Heritage: not archived
Found in: the text, “Interspecies analysis: human average MRI templat”
Holds: README, license file, documentation
Not found: CITATION.cff, environment file, tests, continuous integration
Tools: NumPy (2 files)
Availability: 2 checks, the latest on 9 November 2026: the link answers
  • 9 November 2026: the link answers
  • 29 September 2026: the link answers
7 files

mouse-imaging-centre/minc-stuffs

License: BSD-3-Clause
State: the link answers, verified on 13 November 2026
Evidence: files inventoried
Commit: 0bfb834896e91a540774607ca7817ca8fcf41573, 22 November 2019
Languages: C (7), Python (4), Perl (2), C/C++ (2), Shell (1)
Size: 54 files, 16 scripts
Software Heritage: not archived
Found in: the text, “Interspecies analysis: vertex-wise shape differe”
Holds: README, license file, environment (setup.py)
Not found: CITATION.cff, tests, continuous integration, documentation
Tools: NumPy (3 files), SciPy (1 file)
Availability: 2 checks, the latest on 13 November 2026: the link answers
  • 13 November 2026: the link answers
  • 29 September 2026: the link answers
18 files

rmarkello/pyls

License: GPL-2.0
State: the link answers, verified on 31 October 2026
Evidence: files inventoried
Commit: d8a19d564cc5804249527b68c937df3a5fd8c7cc, 4 November 2019
Languages: Python (32)
Size: 65 files, 32 scripts
Software Heritage: archived
Found in: the text, “Intraspecies analysis: partial least squares cor”
Holds: README, license file, environment (requirements.txt, setup.cfg, setup.py, docs/requirements.txt), tests, continuous integration, documentation
Not found: CITATION.cff
Tools: NumPy (18 files), scikit-learn (4 files), h5py (2 files), pandas (2 files), SciPy (2 files), seaborn (1 file)
Availability: 2 checks, the latest on 31 October 2026: the link answers
  • 31 October 2026: the link answers
  • 27 September 2026: the link answers
34 files

spin-test/spin-test

License: MIT
State: the link answers, verified on 31 October 2026
Evidence: files inventoried
Commit: d149e273f2dcfb3d1d3e86c4ec7293dd9e38e265, 25 August 2020
Languages: MATLAB (87)
Size: 120 files, 87 scripts
Software Heritage: archived
Found in: the text, “Spin-test between subcortical structure surface ”
Holds: README, license file, 1 notebook
Not found: CITATION.cff, environment file, tests, continuous integration, documentation
Tools: FreeSurfer (3 files)
Availability: 2 checks, the latest on 31 October 2026: the link answers
  • 31 October 2026: the link answers
  • 26 September 2026: the link answers
89 files

Tracing map

Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.

What the map holds:

  • 4 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 140 scripts, each with its path and the digest of its content;
  • 5 matches between paragraphs of the paper and lines of the code (method lexical-v1);
  • neither the text of the paper nor the code itself.

Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.

Data

Datasets cited

Data availability

All numerical source data underlying the figures and charts in this study have been deposited in the Zenodo repository and are publicly available at https://zenodo.org/records/19196386 under 10.5281/zenodo.19196386152. The Human Connectome Project (HCP) data used in this study are available from the Human Connectome Project repository (https://db.humanconnectome.org), subject to data use terms and registration. Chimpanzee MRI data were obtained from the National Chimpanzee Brain Resource and are accessible through the original data providers in accordance with their data-sharing policies.

Reproduced under the paper's license (CC BY), from the paper cited above.

Versions

The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.

Version 1, 29 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 16 authors, 2 keywords, 10 MeSH terms, 3 funders, 140 references.

Cite

This paper

Blostein, N., Devenyi, G. A., Patel, S., Patel, R., Tullo, S., Plitman, E., Costantino, M., Markello, R., Parent, O., Bedford, S. A., Sherwood, C. C., Hopkins, W. D., Dai, A., Seidlitz, J., Raznahan, A., & Chakravarty, M. M. (2026). Morphological and anatomical variations in subcortical anatomy between humans and chimpanzees associated with heritability patterns related to human behavioral traits. Communications biology, 9(1), 852. https://doi.org/10.1038/s42003-026-10066-6

BibTeX

@article{blostein2026morphological,
author = {Blostein, Nadia and Devenyi, Gabriel A and Patel, Sejal and Patel, Raihaan and Tullo, Stephanie and Plitman, Eric and Costantino, Manuela and Markello, Ross and Parent, Olivier and Bedford, Saashi A and Sherwood, Chet C and Hopkins, William D and Dai, Alyssa and Seidlitz, Jakob and Raznahan, Armin and Chakravarty, M Mallar},
title = {{Morphological and anatomical variations in subcortical anatomy between humans and chimpanzees associated with heritability patterns related to human behavioral traits}},
journal = {Communications biology},
year = {2026},
month = apr,
volume = {9},
number = {1},
pages = {852},
publisher = {Nature Publishing Group},
issn = {2399-3642},
doi = {10.1038/s42003-026-10066-6},
url = {https://doi.org/10.1038/s42003-026-10066-6},
pmid = {42014585},
pmcid = {PMC13284390}
}

RIS

TY - JOUR
AU - Blostein, Nadia
AU - Devenyi, Gabriel A
AU - Patel, Sejal
AU - Patel, Raihaan
AU - Tullo, Stephanie
AU - Plitman, Eric
AU - Costantino, Manuela
AU - Markello, Ross
AU - Parent, Olivier
AU - Bedford, Saashi A
AU - Sherwood, Chet C
AU - Hopkins, William D
AU - Dai, Alyssa
AU - Seidlitz, Jakob
AU - Raznahan, Armin
AU - Chakravarty, M Mallar
TI - Morphological and anatomical variations in subcortical anatomy between humans and chimpanzees associated with heritability patterns related to human behavioral traits
T2 - Communications biology
J2 - Commun Biol
PY - 2026
DA - 2026/04/21
VL - 9
IS - 1
SP - 852
SN - 2399-3642
PB - Nature Publishing Group
DO - 10.1038/s42003-026-10066-6
UR - https://doi.org/10.1038/s42003-026-10066-6
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s42003-026-10066-6",
"type": "article-journal",
"title": "Morphological and anatomical variations in subcortical anatomy between humans and chimpanzees associated with heritability patterns related to human behavioral traits",
"container-title": "Communications biology",
"author": [
{
"family": "Blostein",
"given": "Nadia"
},
{
"family": "Devenyi",
"given": "Gabriel A"
},
{
"family": "Patel",
"given": "Sejal"
},
{
"family": "Patel",
"given": "Raihaan"
},
{
"family": "Tullo",
"given": "Stephanie"
},
{
"family": "Plitman",
"given": "Eric"
},
{
"family": "Costantino",
"given": "Manuela"
},
{
"family": "Markello",
"given": "Ross"
},
{
"family": "Parent",
"given": "Olivier"
},
{
"family": "Bedford",
"given": "Saashi A"
},
{
"family": "Sherwood",
"given": "Chet C"
},
{
"family": "Hopkins",
"given": "William D"
},
{
"family": "Dai",
"given": "Alyssa"
},
{
"family": "Seidlitz",
"given": "Jakob"
},
{
"family": "Raznahan",
"given": "Armin"
},
{
"family": "Chakravarty",
"given": "M Mallar"
}
],
"container-title-short": "Commun Biol",
"volume": "9",
"issue": "1",
"page": "852",
"DOI": "10.1038/s42003-026-10066-6",
"PMID": "42014585",
"PMCID": "PMC13284390",
"ISSN": "2399-3642",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s42003-026-10066-6",
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
21
]
]
}
}

The tracing map gets a citation of its own once an author has validated it and it has a DOI.

Similar papers

The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.

[1] doi:10.1038/s41592-022-01625-w [code]
neuromaps: structural and functional interpretation of brain maps.
Journal: Nature methods
In common: scikit-learn, pandas, SciPy, 1 other tool, db.humanconnectome.org/data/projects, 8 references, 4 authors
[2] doi:10.1002/hbm.26259 [code]
High spatial overlap but diverging age-related trajectories of cortical magnetic resonance imaging markers aiming to represent intracortical myelin and microstructure.
Journal: Human brain mapping
In common: FreeSurfer, 7 references, 4 authors
[3] doi:10.1093/braincomms/fcad279 [code]
Assessment of white matter hyperintensity severity using multimodal magnetic resonance imaging.
Journal: Brain communications
In common: h5py, seaborn, scikit-learn, 3 other tools, 5 references, 3 authors
[4] doi:10.1038/s41593-024-01624-4 [code]
Cortical gene expression architecture links healthy neurodevelopment to the imaging, transcriptomics and genetics of autism and schizophrenia.
Journal: Nature neuroscience
In common: scikit-learn, pandas, SciPy, 1 other tool, genetics / omics, 6 references, 3 authors
[5] doi:10.1038/s41467-026-70832-2 [code]
Characterizing spatiotemporal white matter hyperintensity pathophysiology in vivo to disentangle vascular and neurodegenerative contributions.
Journal: Nature communications
In common: seaborn, scikit-learn, pandas, 2 other tools, 2 references, 3 authors
[6] doi:10.1126/sciadv.ado2733 [code]
The uniqueness of human vulnerability to brain aging in great ape evolution.
Journal: Science advances
In common: non-human primate, 4 references, 2 authors
[7] doi:10.1038/s41467-026-73305-8 [code]
Comparative analysis of the cellular landscape in mammalian striatum.
Journal: Nature communications
In common: pandas, NumPy, non-human primate, genetics / omics, 2 references, 2 authors
[8] doi:10.1016/j.xinn.2024.100755 [code]
The Chimpanzee Brainnetome Atlas reveals distinct connectivity and gene expression profiles relative to humans.
Journal: Innovation (Cambridge (Mass.))
In common: pandas, SciPy, NumPy, non-human primate, genetics / omics, 8 references
[9] doi:10.1038/s41467-024-49823-8 [code]
Hippocampal connectivity patterns echo macroscale cortical evolution in the primate brain.
Journal: Nature communications
In common: FreeSurfer, seaborn, scikit-learn, 3 other tools, non-human primate, cognitive, 7 references
[10] doi:10.1038/s42003-024-06956-2
The genetics of spatiotemporal variation in cortical thickness in youth.
Journal: Communications biology
In common: 4 references, 2 authors

Contribute

The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.

Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.

Add the badge to the code's README

OSCR: the badge of this paper

If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.

Markdown
<!-- oscr-badge:start -->
[![OSCR](https://openscicode.org/badge/doi/10.1038/s42003-026-10066-6.svg)](https://openscicode.org/badge/doi/10.1038/s42003-026-10066-6)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1038/s42003-026-10066-6.svg
   :target: https://openscicode.org/badge/doi/10.1038/s42003-026-10066-6
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s42003-026-10066-6"><img src="https://openscicode.org/badge/doi/10.1038/s42003-026-10066-6.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->

On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".

If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.

Request its removal

To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).

Discussion, reproductions, activity

Discussion: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.

Report a mismatch between the code and the paper · Report a code error (signed in)

Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.

Report a reproduction failure (signed in)

Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.