Compute metacell manifod graph using the confusion matrix of balanced K-nn between individual cells projected on metacells

mcell_mgraph_knn(
  mgraph_id,
  mc_id,
  graph_id = NULL,
  mctnetwork_id = NULL,
  symmetrize = F,
  ignore_mismatch = F,
  ignore_edges = NULL
)

Arguments

mgraph_id

id of new object

mc_id

meta cell id to work with

graph_id

graph_id of the similarity graph on cells from the metacell, in case confusion should be computed from similarities.

mctnetwork_id

id of a network object, in case confusion should be comuted from flows.

ignore_mismatch

try if the cgraph id can be partially overlapping with the metacell object - false by defualt and should be kept this way

ignore_edges

provide a data frame with mc1,mc2 pairs of edges to delete manually

symetrize

should the mc confusion matrix be symmetrized before computing layout?