Description Usage Arguments Value
For each cis-trans gene pair, estimate the probability of mediation.
1 | CCmed_gene(cis_res, condcorr_res, cisID, condcorrID, ncond)
|
cis_res |
list object returned by running Primo on gene-level cis-association statistics. |
condcorr_res |
list object returned by running Primo on conditional correlation statistics. |
cisID |
vector of gene names corresponding that match the identifiers of of |
condcorrID |
data.frame with two columns ("cis", "trans") that match the identifiers
of |
ncond |
integer of the number of conditions required for mediation. |
A data.frame with the following columns:
cis | cis-gene identifier |
trans | trans-gene identifier |
ncond | number of conditions required for mediation |
prob_cis_all | posterior probability of cis-association in all conditions |
prob_condcorr_ncond | posterior probability of conditional correlation
in at least ncond conditions |
prob_med | probability of mediation in at least ncond conditions
|
The main element of interest for inference is the column prob_med
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.