strength_plot: Visualizing Performance of Network Inference on Model...

Description Usage Arguments

Description

A wrapper for the strength.plot function in bnlearn. See ?strength.plot. This does the same thing, except it colors edges by whether they are true positives (green), false positives (red), or false negatives (blue), adding more information to the graph.

Usage

1
2
3
4
5
strength_plot(strength, ground_truth, directed_edges = TRUE,
  plot_truth = TRUE, threshold = NULL)

strength_plot_list(strength, ground_truth, directed_edges = TRUE,
  plot_truth = TRUE, threshold = NULL)

Arguments

strength

model averaging resuts, an object of class bn.strength. See ?bn.strength.

ground_truth

the graph structure to be plotted, sn object of class bn.

plot_truth

if TRUE plot on 'true' (reference) graph structure, FALSE then plot on consensus graph structure

threshold

a numeric value, the minimum strength required for an arc to be included in the averaged network. If nothing is entered, the threshold attribute of the strength argument is used.


robertness/bninfo documentation built on May 27, 2019, 10:32 a.m.