A standardized non-linear approach to studying menstrual cycle effects on brain and behavior.
The 1 match
- [1] § Results › Scaling cyclepoint ↔ 01_Cyclepoint calculation/cyclepoint_calculation.r, lines 11–23 · score 0.62 · follicular phase, luteal phase, Cycle days, cycle length, cyclepoint
Paper
Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
R · 49 lines · 1.4 KB · no license · 1 match
- ################## CYCLEPOINT CALCULATION ##################
- #### Original / unadjusted:
- df$cyclepoint <- df$cycleDay / df$cycleLength
- #### Adjusted for lesser variance in luteal phase length:
- adjustedCyclePoint <- function(cycleDay, cycleLength) {
- if (is.na(cycleDay) || is.na(cycleLength)){
- return ()
- }
- follicular_length <- cycleLength - 14
- if (cycleDay <= follicular_length){ # if in follicular phase
- return (cycleDay/follicular_length*0.5)
- } else { # if in luteal phase
- luteal_day <- cycleDay - follicular_length
- luteal_point <- luteal_day / 14
- return (0.5 + luteal_point * 0.5)
- }
- }
- df$adjustedCyclePoint <- mapply(adjustedCyclePoint, df$cycleday, df$cyclelength)
- #### Adjusted for ovulation (biomarker-based):
- adjustedCyclePoint <- function(cycleDay, cycleLength, ovulationFlag) {
- if (is.na(cycleDay) || is.na(cycleLength)){
- return ()
- }
- follicular_length <- cycleLength - ovulationFlag
- if (cycleDay <= follicular_length){
- return (cycleDay/follicular_length*0.5)
- } else {
- luteal_day <- cycleDay - follicular_length
- luteal_point <- luteal_day / ovulationFlag
- return (0.5 + luteal_point * 0.5)
- }
- }
- df$adjustedCyclePoint <- mapply(adjustedCyclePoint, df$cycleday, df$cyclelength, df$ovulationflag)
- ### NOTE: Ovulation flag should reflect the day after ovulation ###
- ## (confirmed or estimated depending on type of biomarker used) ##
- ## For all calculations: df = your dataframe
cyclepoint_calculation.r at commit 7932e56, no license · at the source
Overview
- Department of Psychology, University of Toronto, Toronto, ON, Canada
- Centre for Addiction and Mental Health, Toronto, ON, Canada
Abstract
Menstrual cycles are major biological events with extensive effects on the brain and cognition, experienced by half of the human population. To develop a comprehensive account of human cognition, it is necessary to successfully integrate and characterize menstrual cycle effects in cognitive science research. However, current approaches to menstrual cycle analysis suffer from low data resolution and are not well-equipped to capture the highly variable, non-linear changes in outcomes of interest across the cycle. We present a validated standardized method remedying these issues, demonstrate its utility using hormonal, behavioral, and neuroimaging data, and provide an open-source toolkit to facilitate its use.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repository
Its files are read in the Code ↔ Paper reader above, with 1 match between paragraphs and lines of code.
macklab/cyclepoint
7932e569ff551aa29b48f949c5395024b6421170, 27 June 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
3 files
- 01_Cyclepoint calculation/
cyclepoint_calculation.r , R, 49 lines, 1 match - 04_Brain/
fMRI toolkit/ , Jupyter, 52 linesidentify_cyclepoint_acti vation.ipynb - README.md, Text, 53 lines
The paper's code and data availability statement is in the Data section.
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;
- 2 scripts, each with its path and the digest of its content;
- 1 match 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
Datasets cited
- doi:10.18112/
openneuro.ds002674.v1.0. , at OpenNeuro; found in the references6
Data availability statement
The original contributions presented in the study are included in the article and are available in an open source repository (https://
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 2, 28 September 2026
- Funding: added Fondation Brain Canada; Natural Sciences and Engineering Research Council of Canada: RGPIN 2017 ?, RGPIN-2024-05884
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, pages, dates, 2 authors, 5 keywords, 35 references.
Cite
This paper
Perović, M., & Mack, M. L. (2026). A standardized non-linear approach to studying menstrual cycle effects on brain and behavior. Frontiers in cognition, 5, 1839153. https://
BibTeX
@article{perovic2026stan
author = {Perović, Mateja and Mack, Michael L},
title = {{A standardized non-linear approach to studying menstrual cycle effects on brain and behavior}},
journal = {Frontiers in cognition},
year = {2026},
month = jun,
volume = {5},
pages = {1839153},
publisher = {Frontiers Media SA},
issn = {2813-4532},
doi = {10.3389/
url = {https://
pmid = {42416545},
pmcid = {PMC13337944}
}
RIS
TY - JOUR
AU - Perović, Mateja
AU - Mack, Michael L
TI - A standardized non-linear approach to studying menstrual cycle effects on brain and behavior
T2 - Frontiers in cognition
J2 - Front Cognit
PY - 2026
DA - 2026/
VL - 5
SP - 1839153
SN - 2813-4532
PB - Frontiers Media SA
DO - 10.3389/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.3389/
"type": "article-journal",
"title": "A standardized non-linear approach to studying menstrual cycle effects on brain and behavior",
"container-title": "Frontiers in cognition",
"author": [
{
"family": "Perović",
"given": "Mateja"
},
{
"family": "Mack",
"given": "Michael L"
}
],
"container-title-short":
"volume": "5",
"page": "1839153",
"DOI": "10.3389/
"PMID": "42416545",
"PMCID": "PMC13337944",
"ISSN": "2813-4532",
"publisher": "Frontiers Media SA",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
23
]
]
}
}
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.1017/s0033291726104103 [code]
- Linking brain structure to stress reactivity: cingulate surface area predicts acute cortisol responses.Journal: Psychological medicineIn common: Nilearn, statsmodels, NiBabel, 4 other tools, 2 references
- [2] doi:10.1162/imag.a.1362 [code]
- Human fMRI at 11.7T: Assessing feasibility, stability, and reliability on the Iseult scanner.Journal: Imaging neuroscience (Cambridge, Mass.)In common: Nilearn, statsmodels, NiBabel, 4 other tools, methods / tools
- [3] doi:10.1002/epi4.70336 [code]
- Quantifying extra-lesional interhemispheric cortical asymmetry in focal cortical dysplasia type II.Journal: Epilepsia openIn common: Nilearn, statsmodels, NiBabel, 4 other tools
- [4] doi:10.1162/netn.a.544 [code]
- Brain network reconfiguration during reward prediction error processing.Journal: Network neuroscience (Cambridge, Mass.)In common: Nilearn, statsmodels, NiBabel, 4 other tools
- [5] doi:10.64898/2026.08.18.26360725 [code]
- Temporal pole blurring in hippocampal sclerosis reflects seizure-disrupted myelinationJournal: medRxiv (preprint)In common: Nilearn, statsmodels, NiBabel, 4 other tools
- [6] doi:10.1038/s41467-026-76452-0 [code]
- Music evokes shared neural representations of imagined narratives across sensory modalities.Journal: Nature communicationsIn common: Nilearn, statsmodels, NiBabel, 4 other tools
- [7] doi:10.64898/2026.08.13.26360304 [code]
- Lifespan brain structural variation reveals shared organization across mental health conditionsJournal: medRxiv (preprint)In common: Nilearn, statsmodels, NiBabel, 4 other tools
- [8] doi:10.1016/j.isci.2026.117180 [code]
- Developmental changes in similarity between neural representations of mental arithmetic and artificial neural networks.Journal: iScienceIn common: Nilearn, statsmodels, NiBabel, 4 other tools
- [9] doi:10.1038/s41514-026-00456-9 [code]
- Exploring the link between body physiology and cognition: the role of the brain and aging.Journal: npj agingIn common: Nilearn, statsmodels, NiBabel, 4 other tools
- [10] doi:10.1038/s41467-026-75959-w [code]
- Charting higher-order models of brain function beyond pairwise interactions.Journal: Nature communicationsIn common: Nilearn, statsmodels, NiBabel, 4 other tools
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.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 1 repository of the authors' code, each at its verified commit and with its license, 2 scripts, and 1 match between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:7afd24c340155c79…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
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: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
