liabilities_func_fam | R Documentation |
Helper function for gen_sim()
liabilities_func_fam( G, beta, MAF, liab, N = 1e+05, n_sib = 0, K = 0.05, h2 = 0.5, block_size = 1000 )
G |
File backed matrix containing SNP data. |
beta |
A vector containing the casual effect of each SNP. |
MAF |
A vector containing minor allele frequencies. |
liab |
A tibble containing genetic liabilities for each subject's family members. |
N |
Amount of subjects. |
n_sib |
Amount of siblings. |
block_size |
Size of FBM to be processed in each iteration. |
h_2 |
The heritability of trait. |
A tibble containing genetic and full liability for each family member.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.