sim_fam | R Documentation |
Helper function for gen_sim()
sim_fam(i, G, beta, MAF, N = 1e+05, n_sib = 0, block_size = 1000)
i |
Iteration from for loop. |
G |
Empty file backed matrix(FBM). |
beta |
A vector containing the casual effect of each SNP. |
MAF |
a vector containing minor allele frequencies. |
N |
Amount of subjects. |
block_size |
Size of FBM to be processed in each iteration. |
n_sibs |
Amount of siblings. |
Tibble of simulated SNPs for subject and family's liabilities.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.