Compute metacell using a native implementation of a graph cover k-means-like approach

mcell_add_mc_from_graph(mc_id, graph_id, mat_id, min_mc_size)

Arguments

mc_id

id of metacell object to be added

graph_id

a knn graph object id into scdb

mat_id

a matrix object id

min_mc_size

target minimum metacell size. This is only an approximation and smaller MC may be returned by the algorithm