Build a cell graph using raw knn graph on given gene features

mcell_add_cgraph_from_mat_raw_knn(mat_id, gset_id, graph_id, K, dsamp = F)

Arguments

mat_id

matrix object id

gset_id

gset object id defining the features used for distances

graph_id

new graph id to create

K

the guideline Knn parameter. The balanced will be constructed aiming at K edges per cell