R: returns additional information regarding the nodes of...
info_node
R Documentation
returns additional information regarding the nodes of networks X and Y (original and augmented)
Description
This function returns some additional information regarding the nodes of networks X and Y such as the reachability of nodes in networks X to the augmented nodes of network Y.
Usage
info_node(g1,g2,taxnames, maxnode, maxdistance)
Arguments
g1
the original network X
g2
the augmented network Y with additional nodes (all the original nodes from X must be present in the augmented network Y)
taxnames
the taxon name of the nodes added to the original graph (default: we select all nodes that are not in g1)
maxnode
the maximum number of augmented nodes in network Y to take into account (default=0, no maximum number of augmented nodes to take into account. The augmented nodes are sorted by distance to the investigated node pairs by the algorithm.)
maxdistance
the maximum search distance to the added nodes in network Y (default=0, no maximum distance for augmented nodes to take into account)
Value
This function return information about the reachability of each node such as : reach_count(number of reachable augmented nodes), reach_max_dist (maximal distance to an augmented node), reach_min_dist (minimal distance to an augmented node), reach_mean_dist (mean distance to augmented nodes)