XGMML
file.Write a network on disk, saving it in an XGMML
file,
for importing it in Cytoscape.
write_xgmml(x, path = "./network", write.wpdag = FALSE,
node.col = rep("white", num.nodes(x)), frac = 0.2,
max.weight = max(wpdag(x)))# S4 method for BN
write_xgmml(x, path = "./network", write.wpdag = FALSE,
node.col = rep("white", num.nodes(x)), frac = 0.2,
max.weight = max(wpdag(x)))
the BN
object.
file name with relative or absolute path to be written.
write the weighted PDAG computed using bootstrap samples or the MMPC structure algorithm, instead of the normaldag (default FALSE).
vector of colors for each node of the network (in R colornames).
minimum fraction [0,1] of presence of an edge to be plotted (used in case of write.wpdag=TRUE
).
maximum possible weight of an edge (used in case of write.wpdag=TRUE
).