LTFH | R Documentation |
This function finds all the unique status configurations in the data and calculates the mean posterior genetic liability for each of these unique configurations using gibbs sampling. The calculated posterior mean genetic liabilities are then matched to each person in the dataset and used to perform GWAS.
LTFH(rds.obj, prevalence, h2)
rds.obj |
A list object with an FBM.code256 and accompanying FAM and MAP tibbles. |
prevalence |
Number specifying prevalence of disease in the population. |
h2 |
Number specifying heritability parameter. |
A list with 3 values: the GWAS output, the calculated posterior mean genetic liabilities, and a data frame with the configurations and the associated posterior mean genetic liabilities.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.