Description Usage Arguments Details Value
View source: R/loci_imputation_approaches.R
Perform Empirical Bayes Shrinkage, Loci-by-Loci
1 | EB_for_wsaf(vcfRobj, imputemissing = T, seed = 48)
|
imputemissing |
boolean; Should imputation for missing loci be performed, if so take the mean of the loci function via the beta distribution |
seed |
numeric; global seed to be called before bayes shrinkage |
vcfRobject |
vcfR; a vcfR object |
Loci must all be biallelic. Imputation for missing loci is performed by drawing a random number from the beta-binomial model
Note, optim will fail
matrix of wsaf (non-referent alelle) shrunk by a beta-binomial empirical bayes model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.