Description Usage Arguments Details Value Author(s) Examples
View source: R/extra_functions.R
Credible set of putative causal variants
1 | credset(pp, CV, thr)
|
pp |
Vector of posterior probabilities of causality |
CV |
Optional parameter: Index of CV |
thr |
Minimum threshold for credible set size |
If the CV parameter is supplied (index of causal variant) then the output includes a binary indicator of whether the CV is contained in the set
list of the variants in the credible set, the claimed.cov (cumulative sum of the posterior probabilities of the variants forming the credible set), binary covered indicator (1 if CV is contained in the credible set) and nvar (number of variants in the set)
Anna Hutchinson
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.