This function basically adapts the given precision matrix (and
optional node classification vector) and creates a graph which is
plotted using low-level functions extracted from from the sna
package function (gplot
). Given the frame of our work, the graph is undirected,
real-valued, with no self-loops. Edges are coloured by edge weight
sign (red for negative partial correlation, blue for positive).
Edge widths are proportional to absolute edge weight, the maximal
width being set to 5. Additionally, weak edges are dotted rather than solid.
The function returns the coordinates of the nodes in the plot,
which can be later passed back to Gplot, effectively skipping the
coordinate calculation phase.
Additional arguments are :
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]