Constructs a Shared Nearest Neighbor (SNN) graph from a given feature space using k-nearest neighbors (KNN) and Seurat's SNN computation.
ConstructSNNGraph(
knn = 5,
feature_space,
self_loop = 1,
adjust_disconnection = TRUE
)
A list containing the following elements:
A symmetric matrix representing the graph affinity matrix.
A binary adjacency matrix indicating the presence of edges between nodes.