calculateAPSPmodule | R Documentation |
a convenience function for generating APSP for a set of seeds - note that this is ALL paths of the shortest length, not just one
calculateAPSPmodule(seeds, searchGraph, omitNA = TRUE)
seeds |
A set of seen nodes. These should correspond to the 'name' field of the searchGraph |
searchGraph |
An igraph object representation of the network within which to search from shortest-path pairs |
omitNA |
Logical flag to dictate if NA values should be stripped from input (default: TRUE) |
An igraph representation of the APSP sampling
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.