Welcome to ClientVPS Mirrors

README

Penetrance R package

An R package for the estimation of age-specific penetrance for complex family-based studies in a format compatible with the Fam3PRO R package.

Motivation

Accurate estimation of age-specific penetrance is essential for assessing disease risk in individuals with pathogenic genetic variants (PGVs). Penetrance refers to the probability that an individual carrying a specific genetic variant will develop the associated trait, such as cancer. Estimating this probability is a crucial step in clinical decision-making and personalized risk assessment for hereditary cancer syndromes.

The package leverages Mendelian inheritance models, which are widely used in family-based genetic studies to assess how genetic variants are passed down through generations. These models typically involve a proband—an individual for whom family history and genetic data are collected. The proband serves as the starting point for mapping out the family’s genetic structure, including relationships and phenotypic traits, such as cancer diagnoses. Family data, including cancer occurrence, ages of diagnosis, and genetic test results, are collected for the proband and their relatives. Using these data, Mendelian models compute the likelihood of genetic configurations and disease outcomes based on inheritance patterns.

The core methodology in the package relies on a four-parameter Weibull distribution to model age-specific penetrance. Estimation is performed using a Bayesian framework with Markov chain Monte Carlo (MCMC) methods, allowing the package to provide robust and flexible penetrance estimates. Through this approach, the package models the likelihood of cancer occurrence across family members, even when some genotypic information is missing or incomplete, as is common in real-world studies.

The package also incorporates prior knowledge into the estimation process, enabling users to specify default, custom, or study-based prior distributions. By employing the Elston–Stewart peeling algorithm, the package efficiently calculates likelihoods across family pedigrees, ensuring scalability and accuracy, even in large datasets.

By providing functions for data input, prior specification, and estimation, the package equips researchers and clinicians with tools for estimating cancer risk in complex family-based studies. This supports informed decision-making and preventive strategies in hereditary cancer syndromes, where understanding the genetic basis of risk is critical for patient care.

Citation

If you use the penetrance package, please cite:

Nicolas Kubista, Danielle Braun, Giovanni Parmigiani (2025). The penetrance R package for estimation of age specific risk in family-based studies. Bioinformatics Advances, Volume 5, Issue 1, vbaf154. https://doi.org/10.1093/bioadv/vbaf154

Installation

To install, use

git clone git@github.com:bayesmendel/penetrance.git

Open the source directory as a new R project and install the package with

devtools::install()

or install it directly from GitHub in RStudio:

devtools::install_github("bayesmendel/penetrance")

Quick-start guide

The following is a quick-start guide for basic usage of the package. For greater detail on available options, please refer to the other articles.

The primary function in the package is penetrance(). The package workflow includes three main parts: supplying family data and specifying the estimation settings, estimating the posterior distribution using MCMC, and returning samples from the approximated posterior distribution representing the estimated penetrance function.

library(penetrance)

Pedigree

The user must specify the pedigree argument as a list of data frames, where each data frame contains one family’s data. Each data frame must have the following columns:

Model specification

Available options include:

Additional user inputs

twins <- list(c("ora024", "ora027"), c("aey063", "aey064"))

Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.

This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.