plot.diffee: plot diffee result specified by user input
Description
This function can plot diffee result
Usage
# S3 method for diffee
plot(x, type = "task", index = NULL,
hastitle = TRUE, ...)
Arguments
x
output generated from diffee function (diffee class)
type
type of graph. There are two options:
"task" (difference graph)
"neighbour" (zoom into nodes in the difference graph specified further by parameter
"index" (node id)
index
determines which node(s) to zoom into when parameter "type" is "neighbour".
This parameter could either be an integer or vector of integers representing node ids
hastitle
determines whether the graph title is displayed or not (TRUE to display / FALSE to hide)
...
extra parameters passed to plot.igraph
(zoom into one node or multiple nodes)
Value
a plot of the difference graph from diffee result specified by user input
Details
when only the diffee result is provided, the function will plot all graphs with default numeric labels.
Users can specify multiple subID to zoom in multiple nodes.
Each graph will include a descriptive title.