View source: R/oxy-SSNtools.R View source: R/SSNtools.R
LocalFlatteningRatio | R Documentation |
calculate local network flattening ratio for nodes.
LocalFlatteningRatio(nodes, edges, minK = 1, bipartite = FALSE)
nodes |
nodes of graph (a list of named lists) |
edges |
edges of graph (a list of lists) |
minK |
(optional) minimum k value (degree) for a node to have a meaningful local flattening ratio value. K=1 means the node only has one connection. |
bipartite |
(optional) boolean value of whether the data is a bipartite network |
DETAILS
a list of two dataframes. The first R dataframe contains a column of node label, and a column of Local_flattening_ratio associated with the node. The second R dataframe contains the edge pairs and a boolean column indicating whether the source node is k-nearest neighbor to the target node and vice versa.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.