liabilities_func_simple | R Documentation |
Helper function for gen_sim()
liabilities_func_simple( G, beta, MAF, N = 1e+05, 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. |
N |
Amount of subjects. |
h2 |
The heritability of trait. |
block_size |
Size of FBM to be processed in each iteration. |
A tibble containing genetic and full liability for each subject.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.