Skip to content

temcavanagh/relativeNeighborhoodGraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages