OSCR

Offset Analgesia and Onset Hyperalgesia: A Comparison Between Women With Non-Suicidal Self-Injury and Healthy Women.

Code ↔ Paper

The paper beside its authors' code: matches between them have not been computed for this paper yet.

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

R · 45 lines · 1.3 KB · no license

  1. data = read_csv('/Users/jensfust/Documents/oaoh/Main/oaoh_lowres2.csv')
  2. data_interval = data %>% filter(between(Time, 21, 33))
  3. data_interval_mean = data_interval %>% group_by(Id, Order, Cond, Group) %>%
  4. summarise(Rating = mean(Rating))
  5. corr_data = tibble()
  6. id = unique(data_interval_mean$Id)
  7. for (i in id){
  8. temp1 = data_interval_mean %>% filter(Id == i)
  9. group = temp1[[4]][1]
  10. onset = temp1 %>% filter(Cond == 'onset')
  11. temp2 = temp1 %>% filter(Cond == 'control')
  12. control = mean(temp2$Rating)
  13. oh1 = onset$Rating[1] - control
  14. oh2 = onset$Rating[2] - control
  15. temp2 = tibble(Id = i, OH1 = oh1, OH2 = oh2, Group = group)
  16. corr_data = bind_rows(corr_data, temp2)
  17. }
  18. correlation = cor.test(corr_data$OH1, corr_data$OH2)
  19. ggplot(corr_data, aes(OH1, OH2)) +
  20. geom_point()
  21. corr_data = tibble()
  22. id = unique(data_interval_mean$Id)
  23. for (i in id){
  24. temp1 = data_interval_mean %>% filter(Id == i)
  25. group = temp1[[4]][1]
  26. offset = temp1 %>% filter(Cond == 'offset')
  27. temp2 = temp1 %>% filter(Cond == 'control')
  28. control = mean(temp2$Rating)
  29. oa1 = offset$Rating[1] - control
  30. oa2 = offset$Rating[2] - control
  31. temp2 = tibble(Id = i, OA1 = oa1, OA2 = oa2, Group = group)
  32. corr_data = bind_rows(corr_data, temp2)
  33. }
  34. correlation = cor.test(corr_data$OA1, corr_data$OA2)
  35. ggplot(corr_data, aes(OA1, OA2)) +
  36. geom_point()

oaoh_check_corr.R, no license · at the source

Overview

Authors: Jens Fust1,2, Granit Kastrati1, Johan Bjureberg3, Nitya Jayaram‐Lindström3,4, Clara Hellner3,4, Eva Kosek1,5, Peter Fransson1, Karin B. Jensen1, Maria Lalouni1
  1. Department of Clinical Neuroscience Karolinska Institutet Stockholm Sweden
  2. Institute for Globally Distributed Open Research and Education (IGDORE) Gothenburg Sweden
  3. Department of Clinical Neuroscience Centre for Psychiatry Research, Karolinska Institutet Stockholm Sweden
  4. Stockholm Health Care Services, Region Stockholm Stockholm Sweden
  5. Department of Surgical Sciences Uppsala University Hospital, Uppsala University Uppsala Sweden
Journal: Brain and behavior, volume 16, issue 8, article e71659
Dates: received 17 April 2026; accepted 21 July 2026; published online 15 August 2026; in print August 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1002/brb3.71659 · PMID 42603271 · PMCID PMC13477226 · OpenAlex W4407312795
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: fMRI (modality), human (organism), pain (population)
Methods: Connectivity, Statistics, fMRI & imaging
Keywords: Nociception, Hyperalgesia, Hypoalgesia, Functional magnetic resonance imaging
MeSH: Analgesia*, Hyperalgesia*, Self-Injurious Behavior*, Adolescent, Adult, Female, Humans, Magnetic Resonance Imaging, Pain Measurement, Pain Threshold, Somatosensory Cortex, Young Adult (* major topic)
Topic: Suicide and Self-Harm Studies (Clinical Psychology, Psychology), according to OpenAlex
Funding: Vetenskapsrådet; Donation from Leif Lundblad; StratNeuro Collaborative Grant
Citations: not cited yet (Europe PMC); 24 references in the paper

Abstract

Background: Individuals who engage in non‐suicidal self‐injury (NSSI) exhibit reduced pain sensitivity compared to the general population. It has been argued that this hypoalgesic characteristic may be attributable to hyper‐effective pain modulation. However, empirical support for this theory remains inconsistent. The aim of the study was to use a combined offset analgesia (OA) and onset hyperalgesia (OH) protocol to investigate if women with NSSI have a propensity to inhibit nociceptive signals to a higher degree (stronger OA response) and facilitate nociceptive signals to a lesser degree (weaker OH response), compared to a control group.

Methods: Data was collected from 76 women, 18–35 age (37 with NSSI and 39 healthy controls). The OA and OH protocol were combined with functional magnetic resonance imaging (fMRI).

Results: The NSSI group displayed a weaker OH response, compared to the control group. This suggests that women with NSSI do not facilitate nociceptive signals to the same extent as healthy women. However, there were no significant differences between the groups regarding OA. Across all participants, we observed stronger activation in the primary sensory cortex during the OH condition, compared to the control condition.

Conclusions: The results offer partial support for the general hypothesis that women with NSSI demonstrate enhanced pain modulation. The fMRI finding requires replication.

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

Repository

Its files are read in the Code ↔ Paper reader above.

OSF x8hjk

License: none: the authors keep all their rights
State: the link answers, verified on 26 October 2026
Evidence: files inventoried
Languages: R (3)
Size: 5 files, 3 scripts
Software Heritage: not checked
Found in: the text, “Methods”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: tidyverse (2 files), lme4 (1 file)
Availability: 2 checks, the latest on 26 October 2026: the link answers (HTTP 200)
  • 26 October 2026: the link answers (HTTP 200)
  • 26 September 2026: the link answers (HTTP 200)
3 files
At the source: osf.io/x8hjk

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:

  • 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 3 scripts, each with its path and the digest of its content;
  • no match between paragraphs and code yet;
  • 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

No dataset and no data link were found in the paper.

Data Availability Statement

Data is available upon reasonable request

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, 27 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 9 authors, 4 keywords, 12 MeSH terms, 3 funders, 24 references.

Cite

This paper

Fust, J., Kastrati, G., Bjureberg, J., Jayaram‐Lindström, N., Hellner, C., Kosek, E., Fransson, P., Jensen, K. B., & Lalouni, M. (2026). Offset Analgesia and Onset Hyperalgesia: A Comparison Between Women With Non-Suicidal Self-Injury and Healthy Women. Brain and behavior, 16(8), e71659. https://doi.org/10.1002/brb3.71659

BibTeX

@article{fust2026offset,
author = {Fust, Jens and Kastrati, Granit and Bjureberg, Johan and Jayaram‐Lindström, Nitya and Hellner, Clara and Kosek, Eva and Fransson, Peter and Jensen, Karin B. and Lalouni, Maria},
title = {{Offset Analgesia and Onset Hyperalgesia: A Comparison Between Women With Non-Suicidal Self-Injury and Healthy Women}},
journal = {Brain and behavior},
year = {2026},
month = aug,
volume = {16},
number = {8},
pages = {e71659},
publisher = {Wiley},
issn = {2162-3279},
doi = {10.1002/brb3.71659},
url = {https://doi.org/10.1002/brb3.71659},
pmid = {42603271},
pmcid = {PMC13477226}
}

RIS

TY - JOUR
AU - Fust, Jens
AU - Kastrati, Granit
AU - Bjureberg, Johan
AU - Jayaram‐Lindström, Nitya
AU - Hellner, Clara
AU - Kosek, Eva
AU - Fransson, Peter
AU - Jensen, Karin B.
AU - Lalouni, Maria
TI - Offset Analgesia and Onset Hyperalgesia: A Comparison Between Women With Non-Suicidal Self-Injury and Healthy Women
T2 - Brain and behavior
J2 - Brain Behav
PY - 2026
DA - 2026/08/01
VL - 16
IS - 8
SP - e71659
SN - 2162-3279
PB - Wiley
DO - 10.1002/brb3.71659
UR - https://doi.org/10.1002/brb3.71659
LA - en
ER -

CSL-JSON

{
"id": "10.1002/brb3.71659",
"type": "article-journal",
"title": "Offset Analgesia and Onset Hyperalgesia: A Comparison Between Women With Non-Suicidal Self-Injury and Healthy Women",
"container-title": "Brain and behavior",
"author": [
{
"family": "Fust",
"given": "Jens"
},
{
"family": "Kastrati",
"given": "Granit"
},
{
"family": "Bjureberg",
"given": "Johan"
},
{
"family": "Jayaram‐Lindström",
"given": "Nitya"
},
{
"family": "Hellner",
"given": "Clara"
},
{
"family": "Kosek",
"given": "Eva"
},
{
"family": "Fransson",
"given": "Peter"
},
{
"family": "Jensen",
"given": "Karin B."
},
{
"family": "Lalouni",
"given": "Maria"
}
],
"container-title-short": "Brain Behav",
"volume": "16",
"issue": "8",
"page": "e71659",
"DOI": "10.1002/brb3.71659",
"PMID": "42603271",
"PMCID": "PMC13477226",
"ISSN": "2162-3279",
"publisher": "Wiley",
"URL": "https://doi.org/10.1002/brb3.71659",
"language": "en",
"issued": {
"date-parts": [
[
2026,
8,
1
]
]
}
}

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:
Repetitive Transcranial Magnetic Stimulation of the Human Motor Cortex Modulates Processing of Heat Pain Sensation as Assessed by the Offset Analgesia Paradigm
Journal: Journal of clinical medicine
In common: pain, 3 references
[2] doi:10.1080/07853890.2025.2520394
Nonsuicidal self-injury prediction with pain-processing neural circuits using interpretable graph neural network.
Journal: Annals of medicine
In common: pain, fMRI, 2 references
[3] doi:10.1162/imag.a.1363 [code]
Social approach-avoidance conflict: Behavioural, emotional, and neural correlates along a depression-social anxiety spectrum.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: lme4, tidyverse, fMRI, 1 reference
[4] doi:10.3758/s13415-026-01442-0 [code]
Empathy for pain persists across live two-way video interactions and viewing of prerecorded videos.
Journal: Cognitive, affective & behavioral neuroscience
In common: lme4, tidyverse, pain, 1 reference
[5] doi:10.1371/journal.pcbi.1013053 [code]
Expectation generation and its effect on subsequent pain and visual perception.
Journal: PLoS computational biology
In common: lme4, tidyverse, pain, 1 reference
[6] doi:10.1038/s41467-025-56870-2 [code]
Nature exposure induces analgesic effects by acting on nociception-related neural processing.
Journal: Nature communications
In common: lme4, tidyverse, pain, 1 reference
[7] doi:10.1162/imag.a.1268 [code]
Real-time fMRI-triggered experience sampling: A proof-of-concept study.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: lme4, tidyverse, fMRI, 1 reference
[8] doi:10.1038/s41598-025-31385-4 [code]
Contours drive distinct orientation selectivity in the human visual system.
Journal: Scientific reports
In common: lme4, tidyverse, fMRI, 1 reference
[9] doi:10.1016/j.cub.2022.08.010 [code]
Distinct neural representations for prosocial and self-benefiting effort.
Journal: Current biology : CB
In common: lme4, tidyverse, fMRI, 1 reference
[10] doi:10.1016/j.dcn.2022.101089 [code]
Testing the adolescent social reorientation model during self and other evaluation using hierarchical growth curve modeling with parcellated fMRI data.
Journal: Developmental cognitive neuroscience
In common: lme4, tidyverse, fMRI, 1 reference

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.1002/brb3.71659.svg)](https://openscicode.org/badge/doi/10.1002/brb3.71659)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1002/brb3.71659.svg
   :target: https://openscicode.org/badge/doi/10.1002/brb3.71659
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1002/brb3.71659"><img src="https://openscicode.org/badge/doi/10.1002/brb3.71659.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->

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)

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