OSCR

Block oscr:b:9GAEWS313KM3T-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:9GAEWS313KM3T-2
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41586-021-03209-8 · its page here
Code
github.com/r3fang/snapatac, R/runKNN.R, lines 1 to 43
Commit read
249f163482c6e4032233ae8dc46a911741de781a
SWHID
swh:1:cnt:f8715a2f8b546d7275d4bb2ac8b4521e4d454a1b;origin=https://github.com/r3fang/snapatac;anchor=swh:1:rev:249f163482c6e4032233ae8dc46a911741de781a;path=/R/runKNN.R;lines=1-43 (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 35 (Methods › Single-cell ATAC-seq analysis pipeline › Clustering and visualization); paragraph 37 (Methods › Single-cell ATAC-seq analysis pipeline › Assigning cell type labels to)
Linked by
the registry's matching program (lexical-v1), which can be wrong
Identifier given
2026-11-20

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:9GAEWS313KM3T-2 (https://openscicode.org/b/oscr:b:9GAEWS313KM3T-2)
R/runKNN.R, lines 1 to 43, in github.com/r3fang/snapatac (https://github.com/r3fang/snapatac), commit 249f163482c6e4032233ae8dc46a911741de781a.
Paper: https://doi.org/10.1038/s41586-021-03209-8
SWHID: swh:1:cnt:f8715a2f8b546d7275d4bb2ac8b4521e4d454a1b;origin=https://github.com/r3fang/snapatac;anchor=swh:1:rev:249f163482c6e4032233ae8dc46a911741de781a;path=/R/runKNN.R;lines=1-43