shinyBN is an R/Shiny application for interactive inference and visualization of Bayesian network.

It's based on five R packages:

  • bnlearn: Structure learning and parameter training
  • gRain: Network inference
  • visNetwork: Network visualization
  • pROC: Receiver Operating Characteristic (ROC) curve plot
  • rmda: Decision Curves Analysis (DCA) plot

Which is further wrapped by R/Shiny. It's friendly to users and can easily use through the following workflow :


Separated by a comma.
To change default network, please input 'Stroke_bnfit' (For Stroke Network) or 'Asia_fit,Asia_data' (For Asia Network).

Structure learning:

Please input a csv file with 3 column: From, To, Type!

Parameter learning: