Skip to contents

Converts a matrix of indices and distances into an igraph object, which can subsequently be supplied to a variety of key graph-based clustering algorithms

Credit to Giotto for the matrix - data frame - igraph conversion format

Usage

nn_matrices_to_igraph(idx, dist, cell.names = NULL)

Arguments

idx

Matrix of NN indices

dist

Matrix of distances

cell.names

The names of the points

Scroll to top