threshold: a numeric value containing the threshold for which edges will be included in the differential network plot. If 'thresh.type' is 'p.val', all edges with p-values below this threshold will be included in the plot. If 'thresh.type' is 'diff.score', all edges with absolute differential scores above this threshold will be included in the plot.
thresh.type: either 'p.val' or 'diff.score', defining which variable is used as threshold for edge inclusion.
layout: either 'circular' or one of igraph's supported layouts. If 'circular', dingo networks will be plotted in a circle, and idingo networks will be plotted as a cylinder (with each platform/level as a separate circle).
legend.pos: Legend position for multi-platform networks, in c("left", "right"). Legend is not included for single-platform networks.
Returns
visNet: a network plot, using igraph and visNetwork
Note
To calculate differential scores and p-values for use in network plot thresholding, diff.score must be set to TRUE in dingo() or idingo().