Estimating (Genetic) LiabilityFunctions used to estimate the genetic liability in a range of different setups with and without family history and prevalence information. |
|
---|---|
Estimating the genetic or full liability for a variable number of phenotypes |
|
Helper functionsCollection of functions used as examples of how to include additional information. |
|
Prepares input for |
|
Construct graph from register information |
|
Convert age to cumulative incidence rate |
|
Convert age to threshold |
|
Convert cumulative incidence rate to age |
|
Attempts to convert the list entry input format to a long format |
|
Convert liability to age of onset |
|
Convert the heritability on the observed scale to that on the liability scale |
|
Simulate under the liability threshold model. |
|
CDF for truncated normal distribution. |
|
Auxiliary functionsFunctions used to define covariance matrices. |
|
Gibbs Sampler for the truncated multivariate normal distribution |
|
Construct kinship matrix from graph |
|
Relatedness between a pair of family members |
|
Constructing a covariance matrix for a single phenotype |
|
Constructing a covariance matrix for multiple phenotypes |
|
Constructing a covariance matrix for a variable number of phenotypes |
|
Positive definite matrices |
|
Constructing covariance matrix from local family graph |
|
Constructing covariance matrix from local family graph for multi trait analysis |
|
Legacy & internal functionsfunctions that are not currently being used, but kept for compatabilitity and internal functions used by the package. |
|
construct all combinations of input vector |
|
Estimate genetic liability similar to LT-FH |
|
Estimating the genetic or full liability for multiple phenotypes |
|
Estimating the genetic or full liability |
|
Simulate under the liability threshold model (multiple phenotypes). |
|
Simulate under the liability threshold model (single phenotype). |