Description Usage Arguments See Also
Takes as input the network as well as the species communities to be compared and gives as output the pairwise distance matrix between species communities. The use of the NetFrac function is recommended if the global distances (between all pair of communities) are needed.
1 | dist_paths(x, col1, col2, distance = "paths", paths = "single", info = NULL, type = "graph", maxcores = 1)
|
x |
The igraph object to be analyzed |
col1 |
Community one |
col2 |
Community two |
distance |
Distances that are implemented in NetFrac. See also the NetFrac function |
paths |
Take into account all possible shortest paths or only one |
info |
Information about the tree if the input is a tree |
type |
Tree or network |
maxcores |
Number of parallel cores to be used for calculation (one by default) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.