Implementation of Several Phenotype-Based Family Genetic Risk Scores

Implementation of several phenotype-based family genetic risk scores with unified input data and data preparation functions to help facilitate the required data preparation and management. The implemented family genetic risk scores are the extended liability threshold model conditional on family history from Pedersen (2022) and Pedersen (2023) < https://www.nature.com/articles/s41467-023-41210-z>, Pearson-Aitken Family Genetic Risk Scores from Krebs (2024) , and family genetic risk score from Kendler (2021) .


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:

  • Automatic identification of family members up to n'th degree.
  • personalised thresholds for each included family that can account for:
    • age of diagnosis
    • censoring
    • cohort effects
    • sex
    • family-wise censoring
  • mixture distribution to handle partially observed controls.

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.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("LTFGRS")

1.2.0 by Emil Michael Pedersen, 12 days ago


https://emilmip.github.io/LTFGRS/


Report a bug at https://github.com/EmilMiP/LTFGRS/issues


Browse source code at https://github.com/cran/LTFGRS


Authors: Emil Michael Pedersen [aut, cre] , Jette Steinbach [aut] , Lucas Rasmussen [ctb] , Morten Dybdahl Krebs [aut]


Documentation:   PDF Manual  


GPL (>= 3) license


Imports batchmeans, dplyr, future.apply, future, lubridate, purrr, Rcpp, rlang, stats, stringr, tibble, tmvtnorm, tidyselect, igraph, xgboost, tidyr, ggplot2

Suggests knitr, rmarkdown, testthat, MASS, kinship2

Linking to Rcpp


See at CRAN