R/cgraph_extmat.r
mcell_add_cgraph_from_distmat.Rd
Build a cell graph using blanacing of an extrenal distance matrix
mcell_add_cgraph_from_distmat(d_mat, graph_id, K, balance = F, k_expand = 10)
distance matrix, col and row names should be a super set of the non ignored cells for the matrix in mat_id
new graph id to create
the guideline Knn parameter. The balanced will be constructed aiming at K edges per cell
should balancing be performed (Default False)
determine how much shoudl the K be expanded intially in order to find enough balanced neighbors.
matrix object id