"plot"(x, fn = "", th = 1e-06, i = NULL, mylayout = NULL, vars = NULL, ...)
GMS
object.NULL
to plot the optimal network.NULL
.NULL
.plot
method.igraph
package - numeric matrix of two columns and the rows with the same number as the number of vertices.
GMS
objects (Markov Networks inferred over a regularization path). Refer to GMS
for details on GMS
object.
This function will plot the optimal network on the screen by default. However, given a file name, the plot will be saved to a PDF file.
Also, given a specific index corresponding to the index of lambda.path
, the associated network will be plotted.
The network will be plotted in force-directed layout (layout.fruchterman.reingold
with default parameters implemented in igraph
package).
GMS
library(XMRF)
data('ggm.fit')
plot(ggm.fit, fn="ggm.fit.net.pdf")
Run the code above in your browser using DataLab