View source: R/misc_helper_functions.R
get_net_dist | R Documentation |
Get network distances between 2 compounds
get_net_dist(c1, c2, allnet, max_dist = 20)
c1 |
first compound |
c2 |
second compound |
allnet |
edge list output of generate_genomic_network |
max_dist |
distance at which the function will stop looking and assume the two compounds are not connected |
integer representing the number of reaction steps between the two compounds, or max_dist if they are not connected
get_net_dist("C00001", "C00002", allnet)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.