robertness
7/15/2015 - 3:59 PM

Generation of edge weights from model averaging

Generation of edge weights from model averaging

library(magrittr)
data(tcells, package = "bninfo")
tcell_data <- tcells$processed$.data
interventions <- tcells$processed$interventions
data(tcell_examples, package = "bninfo")
averaging_tabu <- tcell_examples$averaging_tabu

averaging_tabu %>%
  mutate(weight = strength * direction) %>%
  arrange(desc(weight)) %>%
  head(20) %>% 
  .[c(1, 2, 6, 8, 9, 12, 14, 17, 18, 20), ]