Description Usage Arguments Value Examples
Compute the posterior probabilities of L_k -> T_i -> T_j for a simulated GRN using BFCS::compute_BFCS_vectorized.
1 2 3 4 5 | derive_BFCS_posterior_probabilities(
GRN,
prior = uniform_prior_GRN_DMAG(),
loc_link = NULL
)
|
GRN |
List produced by simulate_GRN containing GRN structure and statistics. |
prior |
Prior on causal graphs (default uniform on DMAGs with bkg. info.) |
loc_link |
Integer vector specifying genetic marker with strongest local linkage for each expression trait. If not specified, we use the default BFCS maximum probability search strategy. |
A numeric matrix of posterior probabilities for each possible causal relationship between the expression traits.
1 2 3 | GRN <- simulate_GRN(10, 10, 1000, 0.1)
derive_BFCS_posterior_probabilities(GRN)
derive_BFCS_posterior_probabilities(GRN, loc_link = 10:1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.