LTFHPlus2.2.0 package

Implementation of LT-FH++

get_relations

Compute and Label Pairwise Relationships Across Multiple Family Graphs

convert_age_to_thresh

Convert age to threshold

convert_cir_to_age

Convert cumulative incidence rate to age

convert_format

Attempts to convert the list entry input format to a long format

familywise_attach_attributes

Wrapper to attach attributes to family graphs

fixSexCoding

Fixing sex coding in trio info

get_all_combs

construct all combinations of input vector

get_family_graphs

Automatically identify family members of degree n

get_generations

Compute Generational Distances and Kinship Coefficients from a Family ...

get_kinship

Construct kinship matrix from graph

get_relatedness

Relatedness between a pair of family members

convert_age_to_cir

Convert age to cumulative incidence rate

attach_attributes

Attach attributes to a family graphs

construct_covmat_multi

Constructing a covariance matrix for multiple phenotypes

construct_covmat_single

Constructing a covariance matrix for a single phenotype

construct_covmat

Constructing a covariance matrix for a variable number of phenotypes

convert_liability_to_aoo

Convert liability to age of onset

convert_observed_to_liability_scale

Convert the heritability on the observed scale to that on the liabilit...

correct_positive_definite

Positive definite matrices

estimate_gen_liability_ltfh

Estimate genetic liability similar to LT-FH

estimate_liability_multi

Estimating the genetic or full liability for multiple phenotypes

estimate_liability_single

Estimating the genetic or full liability

estimate_liability

Estimating the genetic or full liability for a variable number of phen...

graph_based_covariance_construction_multi

Constructing covariance matrix from local family graph for multi trait...

graph_based_covariance_construction

Constructing covariance matrix from local family graph

graph_to_trio

Convert from igraph to trio information

label_relatives

Label Pairwise Relationships Based on Generational Distance and Kinshi...

LTFHPlus-package

LTFHPlus: Implementation of LT-FH++

prepare_graph

Construct graph from register information

prepare_LTFHPlus_input

Prepares input for estimate_liability

Relation_per_proband_plot

Plot the (Average) Number of Relatives per Proband by Relationship Typ...

rtmvnorm.gibbs

Gibbs Sampler for the truncated multivariate normal distribution

simulate_under_LTM_multi

Simulate under the liability threshold model (multiple phenotypes).

simulate_under_LTM_single

Simulate under the liability threshold model (single phenotype).

simulate_under_LTM

Simulate under the liability threshold model.

truncated_normal_cdf

CDF for truncated normal distribution.

Implementation of LT-FH++, an extension of the liability threshold family history (LT-FH) model. LT-FH++ uses a Gibbs sampler for sampling from the truncated multivariate normal distribution and allows for flexible family structures. LT-FH++ was first described in Pedersen, Emil M., et al. (2022) <doi:10.1016/j.ajhg.2022.01.009> as an extension to LT-FH with more flexible family structures, and again as the age-dependent liability threshold (ADuLT) model Pedersen, Emil M., et al. (2023) <https://www.nature.com/articles/s41467-023-41210-z> as an alternative to traditional time-to-event genome-wide association studies, where family history was not considered.

  • Maintainer: Emil Michael Pedersen
  • License: GPL-3
  • Last published: 2025-11-17