Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

📄 Code & supporting material for the peer-reviewed article: Reconstructing the Origin and Demographic Expansion of the TP53 p.R337H Founder Variant in BrazilCancer Epidemiology, Biomarkers & Prevention, 2026. DOI: 10.1158/1055-9965.EPI-25-1148

Author: João C. D. Muzzi · jmuzzi.quantumds.tech · ORCID 0000-0002-6994-5577


title: "Reconstructing the Origin and Demographic Expansion of the TP53 p.R337H Founder Variant in Brazil" output: pdf_document date: "2025-09-21"

Reconstructing the Origin and Demographic Expansion of the TP53 p.R337H Founder Variant in Brazil

This repository contains the R code and data necessary to reproduce the results presented in the article:

"Reconstructing the Origin and Demographic Expansion of the TP53 p.R337H Founder Variant in Brazil"
Emilia Modolo Pinto¹*, João Carlos Degraf Muzzi²*, José Andres Yunes³⁴*, Bonald C. Figueiredo², Raul C. Ribeiro⁵, Gerard P. Zambetti¹
(*co-first authors)


Overview

This study aims to estimate the time of origin and model the demographic expansion of the TP53 p.R337H founder variant in Southern Brazil. Using historical census data, exponential growth models, and Monte Carlo simulations, we reconstruct possible scenarios for the introduction and spread of the variant over time.

The analysis is fully implemented in R and includes:

  • Data curation and preprocessing of Brazilian census population figures.
  • Exponential population growth modeling.
  • Monte Carlo simulations for founder carrier counts.
  • Visualization of predicted trajectories and historical comparisons.

Dependencies

The code was developed using R version ≥ 4.1.0 and the following packages:

  • tidyverse
  • cowplot
  • scales
  • sf
  • geobr

To install all dependencies:

install.packages(c("tidyverse", "cowplot",  "sf", "scales", "geobr"))

How to Run

To replicate all results and generate the figures: Open the file TP53_founder_modelling R1_Code ocean.Rmd in RStudio or any RMarkdown-compatible IDE. Knit the document to PDF format. Output figures will be saved in the current working directory.

Citation

If you use this code or data, please cite:

Pinto EM, Muzzi J, Yunes JA, Figueiredo BC, Ribeiro RC, Zambetti GP. Reconstructing the Origin and Demographic Expansion of the TP53 p.R337H Founder Variant in Brazil. Cancer Epidemiology, Biomarkers & Prevention. [In press].

Contact

For questions regarding the code or analysis, please contact:

Dr. João Muzzi: joao.muzzi@gmail.com / jmuzzi@quantumds.tech Dr. Emilia Pinto: emilia.pinto@stjude.org

About

R code & data for Pinto, Muzzi et al., CEBP 2026 — origin and expansion of the TP53 p.R337H founder variant (doi:10.1158/1055-9965.EPI-25-1148)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors