Compute connection matrix showing overlap between two clusterings
Usage
get_connection_matrix(labels1, labels2, min_percent = 0.1)
Arguments
- labels1
First clustering labels (e.g., low resolution)
- labels2
Second clustering labels (e.g., high resolution)
- min_percent
Minimum percentage threshold to consider a connection (default: 0.1)
Value
Binary connection matrix indicating which clusters from labels2 are connected