groupbn.vis.html.plotR Documentation

groupbn.vis.html.plot

Description

Create an interactive html network object with visNet (displaying similarity scores and number of variables in a score)

Usage

groupbn.vis.html.plot(res, df=NULL, save.file=TRUE, save.name=NULL,
hierarchical=FALSE, nodecolor.all="#E0F3F8",
nodecolor.special="cornflowerblue", main=NULL)

Arguments

res

a groupbn object

df

output from output.table if already calculated, otherwise the same table is calculated internally

save.file

boolean; if TRUE a html file is produced

save.name

name for saving html object, date is additionally used

hierarchical

boolean; if TRUE the network is plotted with a hierarchical layout

nodecolor.all

a color for "normal" nodes

nodecolor.special

a color for the target variable and all separated nodes, if any.

main

optionally a title for the plot

Details

Plots an interactive network plot using visNetwork package

Value

an html widget of class visNetwork

Author(s)

Ann-Kristin Becker

See Also

groupbn groupbn_refinement

Examples

data("wine.groupbn.refined")
groupbn.vis.html.plot(wine.groupbn.refined, hierarchical=TRUE, save.file=FALSE)