MEtacells are reorder according to their footprint similarity based on hclust and the reordering using two select antagonistic markers (that can be selected automatically)

mcell_mc_reorder_hc(
  mc_id,
  gene_left = NULL,
  gene_right = NULL,
  gset_blist_id = NULL
)

Arguments

mc_id

id of metacell object

gene_left

gene for reordering toward the left side (null by default)

gene_right

gene for reordering toward the right side (null by default)

gset_blist_id

id of gene set to blacklist while ordering (e.g. cell cycle genes)