Convert Seurat Graph to colPair-Compatible Format
Source:R/convert_graph_to_colPair.R
convert_graph_to_colPair.Rd
This function converts a graph (adjacency matrix or edge list) into a format compatible with the `colPair` slot in a `SingleCellExperiment` object. The graph must match the cell indices or names in the `SingleCellExperiment` object.