derive_trigger_posterior_probabilities: Compute the posterior probabilities of L_k -> T_i -> T_j for...

Description Usage Arguments Value Examples

View source: R/infer_GRN.R

Description

Compute the posterior probabilities of L_k -> T_i -> T_j for a simulated GRN using the trigger package.

Usage

1
2
3
4
5
6
derive_trigger_posterior_probabilities(
  GRN,
  trigger_obj = NULL,
  seed = NULL,
  window.size = 50000
)

Arguments

GRN

List produced by simulate_GRN containing GRN structure and statistics.

trigger_obj

Precomputed object of class 'trigger' (build + loclink).

seed

Random seed for reproducibility.

window.size

Window size when looking for genetic markers. Default option is value chosen in Chen et al. (2007)

Value

A numeric matrix of posterior probabilities for each possible causal relationship between the expression traits.

Examples

1
2
GRN <- simulate_GRN(100, 100, 100, 0.01)
derive_trigger_posterior_probabilities(GRN)

igbucur/BFCS documentation built on Oct. 20, 2020, 7:39 a.m.