Description Usage Arguments Details Value See Also Examples
Generate a ".gv" figure of the shortest path in a network. This file is can be visualized in software able to read the DOT format.
1 | draw_network(in_network, pathway, outfile = "pathway.gv", level = "zero")
|
in_network |
The network used for analysis |
pathway |
The pathway between two genes, usually generated by the |
outfile |
A character string naming the output file |
level |
Level "zero" and level "one" currently supported. The figure with level zero include only the nodes in the specified path. The figure with level one include all the nodes in the specified path and all the nodes that they in turn interact with. |
Generates a file containing a text description of the sub-network returned by the find_path
function. The output file is in the DOT format, which can be visualised by a number of Graphviz compatible software packages.
Generates a ".gv" file in the working directory.
See Also find_path
, import_network
1 2 3 4 5 6 7 8 | ## Not run:
network <- import_network("example_network_Cyt.txt")
path_k_to_e <- find_path(network,"k","e")
draw_network(network,path_k_to_e)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.