UNAGI.UNAGI_tool.UNAGI.register_CPO_parameters

UNAGI.register_CPO_parameters(anchor_neighbors=15, max_neighbors=35, min_neighbors=10, resolution_min=0.8, resolution_max=1.5)[source]

The function to register the parameters for the CPO analysis. The parameters will be used to perform the CPO analysis.

Parameters:
  • anchor_neighbors (int) – the number of neighbors for each anchor cell.

  • max_neighbors (int) – the maximum number of neighbors for each cell.

  • min_neighbors (int) – the minimum number of neighbors for each cell.

  • resolution_min (float) – the minimum resolution for the Leiden community detection.

  • resolution_max (float) – the maximum resolution for the Leiden community detection.