edgeScanManhattan: edgeScanManhattan

View source: R/oxy-SSNtools.R View source: R/SSNtools.R

edgeScanManhattanR Documentation

edgeScanManhattan

Description

calculate number of edges for each independent node in a graph in a range of manhattan distance

Usage

edgeScanManhattan(
  nodes,
  edges,
  radius,
  min = 3,
  weighted = FALSE,
  bipartite = FALSE
)

Arguments

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

DETAILS

Value

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.


friendlycities-gatech/SSNtools documentation built on Sept. 13, 2023, 10:40 a.m.