build a metacell cover from a big co-clust using louvain clustering and metacell coverage within clusters

mcell_mc_from_coclust_louv_sub(
  mc_id,
  coc_id,
  mat_id,
  max_clust_size,
  max_mc_size,
  min_mc_size,
  T_weight = 1
)

Arguments

mc_id

Id of new metacell object

coc_id

cocluster object to use

mat_id

mat object to use when building the mc object

max_clust_size

maximum clust size. Bigger chunks will be clustered

max_mc_size

maximum mc size (bigger clusters will be dissected)