OSCR

Block oscr:b:5AM30Y6SFMCEC-2

A block of code linked to a paper, with an identifier OSCR gives it for good: it is never reused nor deleted. What a block identifier is · this block in JSON

Identifier
oscr:b:5AM30Y6SFMCEC-2
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41586-023-06818-7 · its page here
Code
github.com/macoskolab/brain-atlas, clustering/src/brain_atlas/leiden_tree.py, lines 11 to 140 (LeidenTree)
Commit read
c478f73b5dc6e222275c4671e232f9ae1a6abab0
SWHID
swh:1:cnt:0fa311f93973c6a0cfce6eb7affe9b556dc03aee;origin=https://github.com/macoskolab/brain-atlas;anchor=swh:1:rev:c478f73b5dc6e222275c4671e232f9ae1a6abab0;path=/clustering/src/brain_atlas/leiden_tree.py;lines=11-140 (the Software Heritage identifier of the file as its authors published it, before any email address is hidden for display; it opens in Software Heritage's archive once the repository is archived there)
In the paper
paragraph 57 (Methods › Brain preparation › Clustering of snRNA-seq data › Overview); paragraph 62 (Methods › Brain preparation › Clustering of snRNA-seq data › Leiden clustering)
Linked by
the registry's matching program (lexical-v1), which can be wrong
Identifier given
2026-11-14

Open these lines beside the paper

Cite this block

Copy this text: the identifier and its page first, then the code, the paper and the SWHID.

Code block oscr:b:5AM30Y6SFMCEC-2 (https://openscicode.org/b/oscr:b:5AM30Y6SFMCEC-2)
clustering/src/brain_atlas/leiden_tree.py, lines 11 to 140, in github.com/macoskolab/brain-atlas (https://github.com/macoskolab/brain-atlas), commit c478f73b5dc6e222275c4671e232f9ae1a6abab0.
Paper: https://doi.org/10.1038/s41586-023-06818-7
SWHID: swh:1:cnt:0fa311f93973c6a0cfce6eb7affe9b556dc03aee;origin=https://github.com/macoskolab/brain-atlas;anchor=swh:1:rev:c478f73b5dc6e222275c4671e232f9ae1a6abab0;path=/clustering/src/brain_atlas/leiden_tree.py;lines=11-140