View source: R/oxy-SSNtools.R View source: R/SSNtools.R
edgeScanManhattan | R Documentation |
calculate number of edges for each independent node in a graph in a range of manhattan distance
edgeScanManhattan(
nodes,
edges,
radius,
min = 3,
weighted = FALSE,
bipartite = FALSE
)
nodes |
nodes of graph (a list of named lists) |
edges |
edges of graph (a list of lists) |
radius |
radius in the unit of coordinates of search window (Manhattan distance) |
min |
(optional) minimum number of nodes in the searching window |
weighted |
(optional) boolean value of whether a weighted column has been included. |
bipartite |
(optional) boolean value of whether the data is a bipartite network |
DETAILS
a list of two dataframes. The first R datafrmae contains a column of node label, and a column of heat associated with the node. The second R dataframe contains the edge pairs and a boolean column indicating whether the edge is within the scanning window.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.