returngraph.diffee: return igraph object from diffee result specified by user input
Description
This function can return an igraph object from diffee result for user to work with directly
Usage
# S3 method for diffee
returngraph(x, type = "task",
neighbouroption = "task", subID = NULL, index = NULL, ...)
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)
neighbouroption
unused
subID
unused
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
(zoom into one node or multiple nodes)
...
unused
Value
an igraph object of graph / subgraph from diffee result specified by user input
Details
the function aims to provide users the flexibility to explore and visualize the graph own their own
generated from diffee