mcell_add_cgraph_from_distmat: Build a cell graph using blanacing of an extrenal distance...

View source: R/cgraph_extmat.r

mcell_add_cgraph_from_distmatR Documentation

Build a cell graph using blanacing of an extrenal distance matrix

Description

Build a cell graph using blanacing of an extrenal distance matrix

Usage

mcell_add_cgraph_from_distmat(d_mat, graph_id, K, balance = F, k_expand = 10)

Arguments

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


tanaylab/metacell documentation built on Oct. 19, 2023, 1:01 p.m.