Description Usage Arguments Value See Also Examples
Use this function to create an igraph graph object based on the topology .sif
file given. It automatically sets various visualization graph properties and
checks if the node names from the topology file are the same as in the models
inside the given models.dir
(if not NULL).
1 | construct_network(topology.file, models.dir = NULL)
|
topology.file |
string. The name of the .sif file (can be a full path name). |
models.dir |
string. A dir with .gitsbe files/models. Default value: NULL. If specified, it is used for the validation of the node names. |
an igraph graph object representing the network as defined in the topology file
graph_from_data_frame
,
get_edges_from_topology_file
,
get_node_names
1 2 | topology.file = system.file("extdata", "example.sif", package = "emba", mustWork = TRUE)
net = construct_network(topology.file)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.