Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 676 Bytes

README.md

File metadata and controls

25 lines (15 loc) · 676 Bytes

Relative Neighborhood Graph

Compute the Relative Neighborhood Graph from a NumPy distance matrix input.

https://pypi.org/project/relativeNeighborhoodGraph/

Instructions

  1. Install:
pip install relativeNeighborhoodGraph
  1. Compute the Relative Neighborhood Graph from a NumPy distance matrix input.
from relativeNeighborhoodGraph import returnRNG

RNG = returnRNG.returnRNG(distance_matrix)
  1. The resulting Relative Neighborhood Graph is returned as a Pandas DataFrame which may be used for visualisation. For example:

Example Graph