plot a metacel confusion matrix

mcell_mc_plot_confusion(
  mc_id,
  graph_id,
  coc_id = NULL,
  use_orig_order = F,
  mc_order = NULL,
  fig_fn = NULL,
  symmetrize = F
)

Arguments

mc_id

id of metacell object ina scdb

graph_id

cell to cell similarity graph

coc_id

coclustering object to be used as the graph. If this is not null, graph_id must be null (and vice versa)

use_orig_order

TRUE if you want to preserve the metacell order in the figu. Flase by default

mc_order

defining an order for the MCs. If this is null and use_orig_order is false, the ordering will be based on hclust of the confusion matrix

symmetrize

should the graph be symetrized before analyzing the confuson matrix.