A standardized non-linear approach to studying menstrual cycle effects on brain and behavior.
One block of code here has 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 1 match
- [1] § Results › Scaling cyclepoint ↔ 01_Cyclepoint calculation/cyclepoint_calculation.r, lines 11 to 23 · score 0.62 · follicular phase, luteal phase, Cycle days, cycle length, cyclepoint · block
oscr:b:QGCY55A9560XX-R· 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 · 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},
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
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",
"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.1162/netn.a.20 [code]
- Idiosyncrasy and generalizability of contraceptive- and hormone-related functional connectomes across the menstrual cycle.Journal: Network neuroscience (Cambridge, Mass.)In common: Nilearn, statsmodels, NiBabel, 4 other tools, 11 references
- [2] doi:10.1038/s41598-023-48628-x
- Learning exceptions to category rules varies across the menstrual cycle.Journal: Scientific reportsIn common: 13 references
- [3] doi:10.1162/imag_a_00474 [code]
- Exploring neuroendocrine influences on the sensorimotor-association
axis in a female and a male individual. Journal: Imaging neuroscience (Cambridge, Mass.)In common: Nilearn, statsmodels, NiBabel, 4 other tools, 7 references - [4] doi:10.1371/journal.pone.0322652 [code]
- Menstrual cycle and perceived stress predict performance on the mnemonic similarity task.Journal: PloS oneIn common: 11 references
- [5] doi:10.1038/s41593-025-02066-2 [code]
- Hormonal milieu influences whole-brain structural dynamics across the menstrual cycle using dense sampling in multiple individuals.Journal: Nature neuroscienceIn common: 10 references
- [6] doi:10.1186/s13293-026-00856-2 [code]
- Menstrual cycle modulates the effect of BDNF Val66Met variant on category learning.Journal: Biology of sex differencesIn common: 9 references
- [7] doi:10.1038/s41467-024-51459-7 [code]
- Relating sex-bias in human cortical and hippocampal microstructure to sex hormones.Journal: Nature communicationsIn common: NiBabel, pandas, Matplotlib, 1 other tool, 6 references
- [8] doi:10.3389/fendo.2023.1228504 [code]
- Morphologic alterations of the fear circuitry: the role of sex hormones and oral contraceptives.Journal: Frontiers in endocrinologyIn common: 7 references
- [9] doi:10.64898/2025.12.01.691604 [code]
- Modeling Hierarchical Brain Dynamics Outperforms Hormonal Biomarkers in Predicting Menstrual Cycle PhasesJournal: bioRxiv (preprint)In common: 6 references
- [10] 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
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:23ed23be7445b322…
Add the badge to the code's README
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 -->
[](https://openscicode.org/badge/doi/10.3389/fcogn.2026.1839153)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.3389/fcogn.2026.1839153.svg
:target: https://openscicode.org/badge/doi/10.3389/fcogn.2026.1839153
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.3389/fcogn.2026.1839153"><img src="https://openscicode.org/badge/doi/10.3389/fcogn.2026.1839153.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.
