Description Usage Arguments Value
View source: R/preprocessing.R
For examples see vignette browseVignettes('MRTool')
1 | cal_betas(pves, maf, gy_direct = T)
|
pves |
a named list of parameters and percentages of variance explained for each one. If multiple snps, each param is a list of snp-vectors, each vector the scenarios for this snp |
maf |
a named list of maf for every snp |
gy_direct |
should there be a direct effect of G on Y. default true. does not need to be changed. |
a list of two data.tables. a data.table containing all valid combinations of coefficients, one row is one snp in one scenario. A data.table with the adjusted combinations of percentages of variance explained
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.