Description Usage Arguments Value
For a specified variant, re-estimate the posterior probabilities of association patterns, conditioning on other specified variants (e.g. lead SNPs for omics traits). Returns the association pattern with the highest posterior probability after conditional analysis.
1 | Primo_conditional(idx_snp, idx_leadsnps, LD_mat, Primo_obj)
|
idx_snp |
integer matching the index (e.g. row of |
idx_leadsnps |
vector of indices (e.g. rows of |
LD_mat |
matrix of genotype correlation coefficients (e.g. Pearson r).
Rows and columns should match the order of ( |
Primo_obj |
list returned by running the t-statistic version
of Primo (i.e. |
The integer corresponding to the association pattern
with the highest posterior probability following conditional analysis.
The value returned, k, corresponds to the k-th index of pis
from the Primo output, and the k-th row of the Q matrix produced
by make_qmat
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.