OSCR

Hippocampal atrophy in untreated de novo Parkinson's disease with obstructive sleep apnea.

Code ↔ Paper

12 matches between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

10 blocks of code here have a permanent identifier (oscr:b:…), listed with the matches below: citable for good, with a page of its own. Select a match and press Cite to copy it. What a block identifier is.

The 12 matches · 5 of them tie a paragraph to a whole file without given lines: weak matches, whose lines are not tinted
  1. [1] § Methods › Participants ↔ R/describe_data.R, the whole file · a weak match · score 0.90 · MDS UPDRS III, uric acid, epilepsy, diabetes, hypertension, cholesterol · block oscr:b:AJYZ8Z0V97EZV-P · Report a mismatch
  2. [2] § Methods › Statistical analysis ↔ R/describe_data.R, the whole file · a weak match · score 0.84 · disease duration, MDS UPDRS, PD MCI, continuous variables, Fazekas, RBD · block oscr:b:AJYZ8Z0V97EZV-P · Report a mismatch
  3. [3] § Methods › Statistical analysis ↔ R/lm_funs.R, lines 65 to 92 · score 0.80 · Breusch Pagan, Shapiro Wilk, linear regression models, residuals, homoscedasticity, lm · block oscr:b:JNYJPQ0SPWJZK-8 · Report a mismatch
  4. [4] § Methods › Statistical analysis ↔ R/data_funs.R, lines 111 to 170 · score 0.73 · disease duration, MDS UPDRS, PD MCI, III, symptom, motor · block oscr:b:8FQZ7NG7TB2AR-B · Report a mismatch
  5. [5] § Methods › Participants ↔ R/data_funs.R, lines 111 to 170 · score 0.69 · MDS UPDRS III, duration, axial, rigidity, tremor, symptom · block oscr:b:8FQZ7NG7TB2AR-B · Report a mismatch
  6. [6] § Methods › Statistical analysis ↔ R/compute_marginal_rates.R, the whole file · a weak match · score 0.66 · pairwise comparison, logistic regression, emmeans, probabilities, model · block oscr:b:QMQJ0W4244BGG-W · Report a mismatch
  7. [7] § Methods › Statistical analysis ↔ R/extract_funs.R, lines 67 to 83 · score 0.64 · pairwise comparison, logistic regression, emmeans, probabilities, model · block oscr:b:N44EJMR8YE6MN-3 · Report a mismatch
  8. [8] § Methods › Statistical analysis ↔ R/fit_funs.R, lines 108 to 150 · score 0.58 · brms, linear regression, variance, homoscedasticity, heteroscedasticity, Bayesian · block oscr:b:6FWS1T34GX4KR-5 · Report a mismatch
  9. [9] § Methods › Neuropsychological assessment ↔ R/extract_funs.R, lines 25 to 44 · score 0.56 · processing speed, executive function, neuropsychological · block oscr:b:SVH1Q5CS716NE-Q · Report a mismatch
  10. [10] § Methods › Statistical analysis ↔ R/model_check.R, the whole file · a weak match · score 0.56 · brms, regression models, log, heteroscedasticity, Bayesian, fitted · block oscr:b:C52CJFXS23E3P-E · Report a mismatch
  11. [11] § Methods › Statistical analysis ↔ R/table_funs.R, lines 79 to 156 · score 0.56 · Subcortical volumes, subcortical structures, hemispheres, OSA interaction, covariates, FDR · block oscr:b:DDKZX1WEN5CDF-F · Report a mismatch
  12. [12] § Results › Subcortical volume segmentation ↔ R/targets_sensitivity.R, the whole file · a weak match · score 0.56 · uric acid, MoCA, sensitivity, glucose, covariates, volumes · block oscr:b:4CRFBGJY63729-E · Report a mismatch

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 · 150 lines · 4 KB · other · 2 matches

  1. #' Describes the Sample
  2. #'
  3. #' Takes in data and computes descriptive statistics with
  4. #' associated statistical tests for variables deemed
  5. #' descriptive for the paper.
  6. #'
  7. #' @param data A data.frame generated by \code{import_data}.
  8. #'
  9. #' @returns A data.frame containing per group descriptive
  10. #' statistics.
  11. #'
  12. #' @export
  13. describe_data <- function(data) {
  14. # List variables to be described:
  15. cont <- c(
  16. "AGE",
  17. "EDU.Y",
  18. "BMI",
  19. "AHI",
  20. "age_first_symptom",
  21. "disease_duration",
  22. "moca",
  23. "mds_updrs_i",
  24. "mds_updrs_ii",
  25. "mds_updrs_iii_total",
  26. "mds_updrs_iii_axial",
  27. "mds_updrs_iii_rigidityakineasia",
  28. "mds_updrs_iii_tremor",
  29. "UPSIT",
  30. "uric_acid",
  31. "urea",
  32. "creatinine",
  33. "cholesterol",
  34. "TAG",
  35. "TSH",
  36. "fT4",
  37. "glucose",
  38. "Fazekas",
  39. "orto_tk_leh_sys",
  40. "orto_tk_leh_dia",
  41. "orto_tk_0_sys",
  42. "orto_tk_0_dia",
  43. "orto_tk_1_sys",
  44. "orto_tk_1_dia",
  45. "orto_tk_3_sys",
  46. "orto_tk_3_dia",
  47. "orto_pulz_leh",
  48. "orto_pulz_0",
  49. "orto_pulz_1",
  50. "orto_pulz_3"
  51. )
  52. nomin <- c(
  53. "GENDER",
  54. "RBD",
  55. "Path_MTA_A",
  56. "Path_MTA_H",
  57. "PDMCI_I",
  58. "PDMCI_II",
  59. "orto_hypo",
  60. "an_rodina",
  61. "demence_rodina",
  62. "pn_rodina",
  63. "tres_rodina",
  64. "rbd_rodina",
  65. "uraz_opakovane",
  66. "uzkost_opak_kont",
  67. "deprese_opak_kont",
  68. "psychatricka_onemocneni",
  69. "hypercholesterolemie",
  70. "ichs",
  71. "arytmie",
  72. "hypertenze",
  73. "diabetes_mellitus",
  74. "thyreopatie",
  75. "icmp",
  76. "epilepsie",
  77. "polyneuropatie",
  78. "migreny",
  79. "encefalitis",
  80. "hcmp",
  81. "glaukom",
  82. "rls"
  83. )
  84. # Pre-process data:
  85. d0 <- data |>
  86. dplyr::mutate(dplyr::across(tidyselect::all_of(c(nomin, "SUBJ", "AHI.F")), as.factor)) |>
  87. within({
  88. contrasts(SUBJ) <- -contr.sum(2) / 2 # CON = -0.5, PD = 0.5
  89. contrasts(AHI.F) <- -contr.sum(2) / 2 # High = -0.5, Low = 0.5
  90. })
  91. # Prepare a table with descriptions
  92. tab1 <- d0 |>
  93. dplyr::group_by(GROUP) |>
  94. dplyr::summarise(
  95. dplyr::across(tidyselect::all_of(nomin), freqprop),
  96. dplyr::across(tidyselect::all_of(cont), msd)
  97. ) |>
  98. dplyr::ungroup() |>
  99. tibble::column_to_rownames("GROUP") |>
  100. t() |>
  101. as.data.frame() |>
  102. dplyr::mutate(dplyr::across(tidyselect::everything(), \(x) dplyr::if_else(grepl("NaN", x), "-", x))) |>
  103. tibble::rownames_to_column("y")
  104. # Add statistical analysis results of variables present in both PD and HC:
  105. tab1 <- dplyr::left_join(
  106. tab1, purrr::map_dfr(cont[c(1:4, 7, 14:length(cont))], function(y) {
  107. summary(lm(as.formula( paste0(y," ~ SUBJ * AHI.F")), data = d0))$coefficients[ , c("t value", "Pr(>|t|)")] |>
  108. statextract(y = y, stat = "t")
  109. }),
  110. by = "y"
  111. )
  112. # Add logistic regression for common variables:
  113. nomintest <- sapply(nomin, function(x) {
  114. if (stringr::str_detect(x, "MCI") || x == "RBD") {
  115. FALSE
  116. } else {
  117. ncol(table(d0[ , c("GROUP", x)])) == 2
  118. }
  119. })
  120. nomintest <- nomin[nomintest]
  121. for (i in nomintest) {
  122. tab1[tab1$y == i, c("SUBJ1", "AHI.F1", "SUBJ1:AHI.F1")] <-
  123. summary(glm(as.formula(paste0(i, " ~ SUBJ * AHI.F")), family = binomial(), data = d0))$coefficients[ , c("z value","Pr(>|z|)")] |>
  124. statextract(y = i, stat = "z") |>
  125. dplyr::select(-y)
  126. }
  127. # Add logistic regression for iRBD and PD-MCI level I
  128. for (i in c("RBD", "PDMCI_I", "PDMCI_II")) {
  129. tab1[tab1$y == i, "AHI.F1"] <- summary(
  130. glm(
  131. as.formula(paste0(i," ~ AHI.F")),
  132. family = binomial(),
  133. data = subset(d0, SUBJ == "PD")
  134. )
  135. )$coefficients[ , c("z value","Pr(>|z|)")] |>
  136. statextract(y = i, stat = "z") |>
  137. dplyr::select(-y)
  138. }
  139. # Add results of continuous variables for PD only:
  140. for (i in with(tab1, y[CONH == "-"] )[-1:-3]) {
  141. tab1[ tab1$y == i, "AHI.F1"] <-
  142. summary(lm(as.formula(paste0(i," ~ AHI.F")), data = d0))$coefficients[ , c("t value", "Pr(>|t|)")] |>
  143. statextract(y = i, stat = "t") |>
  144. dplyr::select(-y)
  145. }
  146. # Return the table:
  147. tab1 |>
  148. dplyr::relocate(PDH, .before = CONH) |>
  149. dplyr::relocate(PDL, .after = PDH)
  150. }

describe_data.R at commit aca7b17, under other · at the source

Overview

Authors: Kristína Burdová1, Filip Růžička1, Josef Mana1,2, Pavel Filip1,3, Jiří Nepožitek1, Simona Dostálová1, Pavla Peřinová1, Ondrej Bezdicek1, Petr Gregorovič1, Filip Havlík1, Evžen Růžička1, Petr Dušek1, Karel Šonka1, Robert Jech1
  1. Department of Neurology, Charles University, First Faculty of Medicine and General University Hospital in Prague, Prague, Czech Republic
  2. Institute of Psychology, Czech Academy of Sciences, Prague, Czech Republic
  3. Center for Magnetic Resonance Research (CMRR), University of Minnesota, Minneapolis, MN USA
Journal: NPJ Parkinson's disease, volume 12, issue 1, article 169
Dates: received 23 January 2025; accepted 8 April 2026; published online 5 May 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1038/s41531-026-01360-5 · PMID 42086584 · PMCID PMC13346879 · OpenAlex W7160268551
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: structural MRI / diffusion (modality), Parkinson's (population), sleep disorders (population), clinical / translational (subfield)
Methods: Statistics, Machine learning, fMRI & imaging, Preprocessing
Keywords: Parkinson's disease, Neurodegeneration
Topic: Obstructive Sleep Apnea Research (Physiology (medical), Medicine), according to OpenAlex
Funding: The Ministry of Health of the Czech Republic (AZV) (Grant No. NU21-04-00443); General University Hospital in Prague project (MH CZ-DRO-VFN64165); National Institute for Neurological Research - EXCELES (ID Project No. LX22NPO5107); Charles University: Cooperatio Program in Neuroscience
Citations: not cited yet (Europe PMC); 110 references in the paper

Abstract

The abstract is not reproduced here: the paper's license (CC BY-NC-ND) does not allow it. Read it in the paper, at the publisher or on Europe PMC.

Repository

Its files are read in the Code ↔ Paper reader above, with 12 matches between paragraphs and lines of code.

josefmana/pdosa

License: other
State: the link answers, verified on 28 September 2026
Evidence: files inventoried
Commit: aca7b175d26dd615f3715a9a09d79104beeab53d, 22 February 2026
Languages: R (25)
Size: 71 files, 25 scripts
Software Heritage: not archived
Found in: “Code availability”
Holds: README, license file, environment (DESCRIPTION), documentation
Not found: CITATION.cff, tests, continuous integration
Tools: tidyverse (19 files), brms (5 files), ggplot2 (5 files), emmeans (4 files), ggpubr (3 files), easystats (2 files), patchwork (2 files), psych (2 files)
Availability: 1 check, the latest on 28 September 2026: the link answers
  • 28 September 2026: the link answers
28 files

Code availability statement

The paper has a code availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:

  • it points to the authors' code: josefmana/pdosa
  • it says that the code is available on request

Read it in the paper: doi.org/10.1038/s41531-026-01360-5.

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;
  • 25 scripts, each with its path and the digest of its content;
  • 12 matches between paragraphs of the paper and lines of the code (method lexical-v1);
  • 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

The paper has a data availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:

  • it says that the data are available on request

Read it in the paper: doi.org/10.1038/s41531-026-01360-5.

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

Recorded: type, language, journal, volume, issue, pages, dates, 14 authors, 2 keywords, 4 funders, 103 references.

Cite

This paper

Burdová, K., Růžička, F., Mana, J., Filip, P., Nepožitek, J., Dostálová, S., Peřinová, P., Bezdicek, O., Gregorovič, P., Havlík, F., Růžička, E., Dušek, P., Šonka, K., & Jech, R. (2026). Hippocampal atrophy in untreated de novo Parkinson's disease with obstructive sleep apnea. NPJ Parkinson's disease, 12(1), 169. https://doi.org/10.1038/s41531-026-01360-5

BibTeX

@article{burdova2026hippocampal,
author = {Burdová, Kristína and Růžička, Filip and Mana, Josef and Filip, Pavel and Nepožitek, Jiří and Dostálová, Simona and Peřinová, Pavla and Bezdicek, Ondrej and Gregorovič, Petr and Havlík, Filip and Růžička, Evžen and Dušek, Petr and Šonka, Karel and Jech, Robert},
title = {{Hippocampal atrophy in untreated de novo Parkinson's disease with obstructive sleep apnea}},
journal = {NPJ Parkinson's disease},
year = {2026},
month = may,
volume = {12},
number = {1},
pages = {169},
publisher = {Nature Portfolio},
issn = {2373-8057},
doi = {10.1038/s41531-026-01360-5},
url = {https://doi.org/10.1038/s41531-026-01360-5},
pmid = {42086584},
pmcid = {PMC13346879}
}

RIS

TY - JOUR
AU - Burdová, Kristína
AU - Růžička, Filip
AU - Mana, Josef
AU - Filip, Pavel
AU - Nepožitek, Jiří
AU - Dostálová, Simona
AU - Peřinová, Pavla
AU - Bezdicek, Ondrej
AU - Gregorovič, Petr
AU - Havlík, Filip
AU - Růžička, Evžen
AU - Dušek, Petr
AU - Šonka, Karel
AU - Jech, Robert
TI - Hippocampal atrophy in untreated de novo Parkinson's disease with obstructive sleep apnea
T2 - NPJ Parkinson's disease
J2 - NPJ Parkinsons Dis
PY - 2026
DA - 2026/05/05
VL - 12
IS - 1
SP - 169
SN - 2373-8057
PB - Nature Portfolio
DO - 10.1038/s41531-026-01360-5
UR - https://doi.org/10.1038/s41531-026-01360-5
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41531-026-01360-5",
"type": "article-journal",
"title": "Hippocampal atrophy in untreated de novo Parkinson's disease with obstructive sleep apnea",
"container-title": "NPJ Parkinson's disease",
"author": [
{
"family": "Burdová",
"given": "Kristína"
},
{
"family": "Růžička",
"given": "Filip"
},
{
"family": "Mana",
"given": "Josef"
},
{
"family": "Filip",
"given": "Pavel"
},
{
"family": "Nepožitek",
"given": "Jiří"
},
{
"family": "Dostálová",
"given": "Simona"
},
{
"family": "Peřinová",
"given": "Pavla"
},
{
"family": "Bezdicek",
"given": "Ondrej"
},
{
"family": "Gregorovič",
"given": "Petr"
},
{
"family": "Havlík",
"given": "Filip"
},
{
"family": "Růžička",
"given": "Evžen"
},
{
"family": "Dušek",
"given": "Petr"
},
{
"family": "Šonka",
"given": "Karel"
},
{
"family": "Jech",
"given": "Robert"
}
],
"container-title-short": "NPJ Parkinsons Dis",
"volume": "12",
"issue": "1",
"page": "169",
"DOI": "10.1038/s41531-026-01360-5",
"PMID": "42086584",
"PMCID": "PMC13346879",
"ISSN": "2373-8057",
"publisher": "Nature Portfolio",
"URL": "https://doi.org/10.1038/s41531-026-01360-5",
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
5
]
]
}
}

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:10.1093/brain/awad325 [code]
Clinical severity in Parkinson's disease is determined by decline in cortical compensation.
Journal: Brain : a journal of neurology
In common: brms, easystats, psych, 4 other tools, Parkinson's, clinical / translational, 5 references
[2] doi:10.1038/s41531-025-01174-x [code]
Susceptibility and diffusion MRI biomarkers predict development of Parkinsonism in iRBD.
Journal: NPJ Parkinson's disease
In common: Parkinson's, structural MRI / diffusion, clinical / translational, 2 references, 2 authors
[3] doi:10.1093/brain/awaf302 [code]
Parkinson's disease progression is shaped by longitudinal changes in cerebral compensation.
Journal: Brain : a journal of neurology
In common: brms, easystats, psych, 4 other tools, Parkinson's, clinical / translational, 3 references
[4] doi:10.1002/brb3.71410
Structural Volumetric Alterations in Parkinson's Disease With Mild Cognitive Impairment.
Journal: Brain and behavior
In common: Parkinson's, structural MRI / diffusion, 8 references
[5] doi:10.1002/hbm.26675 [code]
Whole brain pattern of iron accumulation in REM sleep behavior disorder.
Journal: Human brain mapping
In common: sleep disorders, Parkinson's, structural MRI / diffusion, 1 other category, 1 reference, 2 authors
[6] doi:10.1038/s41531-024-00825-9 [code]
A worldwide study of subcortical shape as a marker for clinical staging in Parkinson's disease.
Journal: NPJ Parkinson's disease
In common: Parkinson's, clinical / translational, 8 references
[7] doi:10.1186/s13195-025-01768-w [code]
Hippocampal subfields: volume, neuropathological vulnerability and cognitive decline in Alzheimer's and Parkinson's disease.
Journal: Alzheimer's research & therapy
In common: Parkinson's, structural MRI / diffusion, 7 references
[8] doi:10.1038/s41531-022-00416-6
Microstructural but not macrostructural cortical degeneration occurs in Parkinson's disease with mild cognitive impairment.
Journal: NPJ Parkinson's disease
In common: Parkinson's, structural MRI / diffusion, 8 references
[9] doi:10.1038/s41531-024-00669-3 [code]
Oscillatory and non-oscillatory features of the magnetoencephalic sensorimotor rhythm in Parkinson's disease.
Journal: NPJ Parkinson's disease
In common: brms, easystats, ggplot2, 1 other tool, Parkinson's, 5 references
[10] doi:10.1162/imag_a_00312 [code]
Alpha-band fluctuations represent behaviorally relevant excitability changes as a consequence of top-down guided spatial attention in a probabilistic spatial cueing design.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: brms, easystats, psych, 4 other tools, 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.1038/s41531-026-01360-5.svg)](https://openscicode.org/badge/doi/10.1038/s41531-026-01360-5)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1038/s41531-026-01360-5.svg
   :target: https://openscicode.org/badge/doi/10.1038/s41531-026-01360-5
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s41531-026-01360-5"><img src="https://openscicode.org/badge/doi/10.1038/s41531-026-01360-5.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->

On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".

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)

Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.

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