R/cgraph_knn.r
mcell_add_cgraph_from_mat_bknn.Rd
Build a cell graph using balanced knn graph on given gene features
mcell_add_cgraph_from_mat_bknn(mat_id, gset_id, graph_id, K, dsamp = F)
matrix object id
gset object id defining the features used for distances
new graph id to create
the guideline Knn parameter. The balanced will be constructed aiming at K edges per cell