Draws the graph structure of
catNetwork object or
some diagnostic plots associated with a
a file name
First we consider the case when
object is a
There are two visualization options implemented - one using 'igraph' and the other 'Graphviz'.
The usage of these two alternatives is controlled by two environment variables -
the logical one
R_CATNET_USE_IGRAPH and the character one
igraph is installed and
R_CATNET_USE_IGRAPH is set to TRUE,
the function constructs an
igraph compatible object corresponding to the
object and plot it.
igraph is not found,
the function generates a
dot-file with name
file is specified, or
Furthermore, provided that
Graphviz library is found and
R_DOTVIEWER points to the
the created earlier
dot-file will be compiled to
object is a list.
Finally, if the system has
R_PDFVIEWER variable shows the path to the
object is of class
catNetworkEvaluate, then the function draws six relevant plots:
likelihood vs. complexity, Hamming (
hamm) and exponential Hamming (
Markov neighbor distance (FP plus FN),
and the false positive (
fp) and false negative (
fn) edges vs. complexity.
A R-plot or
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.