LTFGRS

LTFGRS is an R package that provides a unified interface to perform several phenotype-based family genetic risk scores (FGRS) as well as functions to perform the required data preparation and management steps.

The implemented methods are LT-FH++, PA-FGRS, and Kendler’s FGRS. The primary focus of the package is LT-FH++ and PA-FGRS. They share many similarities in their models, since they are both based on the same underlying liability threshold model with modifications. This package allows users to pick and choose which elements of those methods they want to use. Notable properties of the package are:

Installation

You can install the development version of LTFGRS from GitHub with:

remotes::install_github("EmilMiP/LTFGRS")

You can install the LTFGRS from CRAN with:

install.packages("LTFGRS")

R-CMD-check

Documentation and Tutorials

Documentation and tutorials for the package can be found in the pkgdown site.

On the pkgdown site, a number of tutorial style vignettes can be found as well as smaller vignettes on data preparation and labelling of relatives. Please see the following tutorials:

Parallelisation in LTFGRS

LTFGRS bases its parallelisation on the future suite of packages. This means it is up to the user to decide when and how parallelisation should be applied. For details on how to use the future suite of packages, please see their documentation.

The function estimate_liability() is the function that has the highest computational burden and as such is supported by the future parallelisation framework.

A parallelisation setup example can be found in the vignette parallelisation guidance.

Citation

If you use LTFGRS to estimate genetic liabilities, please cite at least one of the following papers depending on which method you used:

Pedersen et al, Accounting for age of onset and family history improved power in genome-wide association studies. AJHG, 2022.

Krebs et al., Genetic liability estimated from large-scale family data improves genetic prediction, risk score profiling, and gene mapping for major depression. AJHG, 2024

Kendler et al., Family Genetic Risk Scores and the Genetic Architecture of Major Affective and Psychotic Disorders in a Swedish National Sample. JAMA Psychiatry, 2021.

If automatic identification of family members is used, please cite:

Pedersen et al., Automatic detection of n-degree family members. Frontiers in Genetics, 2025.