View source: R/cgraph_extmat.r
mcell_add_cgraph_from_distmat | R Documentation |
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)
d_mat |
distance matrix, col and row names should be a super set of the non ignored cells for the matrix in mat_id |
graph_id |
new graph id to create |
K |
the guideline Knn parameter. The balanced will be constructed aiming at K edges per cell |
balance |
should balancing be performed (Default False) |
k_expand |
determine how much shoudl the K be expanded intially in order to find enough balanced neighbors. |
mat_id |
matrix object id |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.