OSCR

Block oscr:b:WE12DJCY67GJ9-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:WE12DJCY67GJ9-X
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41398-025-03437-w · its page here
Code
github.com/mrcieu/twosamplemr, R/mr.R, lines 167 to 226 (mr_method_list)
Commit read
5e93ee7d8e1f67581acb8134299759389d73efba
SWHID
swh:1:cnt:f9c27f9b22397cbda67a452679a1b85e84652c2d;origin=https://github.com/mrcieu/twosamplemr;anchor=swh:1:rev:5e93ee7d8e1f67581acb8134299759389d73efba;path=/R/mr.R;lines=167-226 (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 12 (Methods › Two-sample mendelian randomization analysis)
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:WE12DJCY67GJ9-X (https://openscicode.org/b/oscr:b:WE12DJCY67GJ9-X)
R/mr.R, lines 167 to 226, in github.com/mrcieu/twosamplemr (https://github.com/mrcieu/twosamplemr), commit 5e93ee7d8e1f67581acb8134299759389d73efba.
Paper: https://doi.org/10.1038/s41398-025-03437-w
SWHID: swh:1:cnt:f9c27f9b22397cbda67a452679a1b85e84652c2d;origin=https://github.com/mrcieu/twosamplemr;anchor=swh:1:rev:5e93ee7d8e1f67581acb8134299759389d73efba;path=/R/mr.R;lines=167-226