UNAGI.UNAGI_tool.UNAGI.calculate_neighbor_graph

UNAGI.calculate_neighbor_graph(neighbors=25, threads=20)[source]

The function to calculate the cell graphs for each stage. The cell graphs will be used for the graph convolutional network (GCN) based cell graph construction.

Parameters:
  • neighbors (int) – the number of neighbors for each cell, default is 25.

  • threads (int) – the number of threads for the cell graph construction, default is 20.