OSCR

Block oscr:b:XSWDS4AQ4BSPB-X

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:XSWDS4AQ4BSPB-X
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41467-022-34879-1 · its page here
Code
github.com/shangll123/spatialpca, R/SpatialPCA_utilties.R, lines 82 to 102 (walktrap_clustering)
Commit read
1d4dbb1fe6f23b77bb7ed805ce2de8bbc017ef66
SWHID
swh:1:cnt:e6a3c59fdbb721d5f595c323920233a1933cf27a;origin=https://github.com/shangll123/spatialpca;anchor=swh:1:rev:1d4dbb1fe6f23b77bb7ed805ce2de8bbc017ef66;path=/R/SpatialPCA_utilties.R;lines=82-102 (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 56 (Methods › Analysis details › Spatial domain detection via 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:XSWDS4AQ4BSPB-X (https://openscicode.org/b/oscr:b:XSWDS4AQ4BSPB-X)
R/SpatialPCA_utilties.R, lines 82 to 102, in github.com/shangll123/spatialpca (https://github.com/shangll123/spatialpca), commit 1d4dbb1fe6f23b77bb7ed805ce2de8bbc017ef66.
Paper: https://doi.org/10.1038/s41467-022-34879-1
SWHID: swh:1:cnt:e6a3c59fdbb721d5f595c323920233a1933cf27a;origin=https://github.com/shangll123/spatialpca;anchor=swh:1:rev:1d4dbb1fe6f23b77bb7ed805ce2de8bbc017ef66;path=/R/SpatialPCA_utilties.R;lines=82-102