graph_clone_nn
graph_clone_nn.Rd
Compute Clone-to-Clone Nearest Neighbor Distances on a Cell Graph
Arguments
- graph
An `igraph` object representing the cell-cell distance graph.
- cell_clone_prob
A numeric matrix of clone membership probabilities (cells × clones).
- prob_thresh
Threshold for binarizing clone assignment probabilities (default: 0.1).
- verbose
Logical. Whether to print progress during processing (default: FALSE).
- nn_k
Integer. Number of nearest neighbors to select for each clone comparison (default: 2).