build a metacell cover from a co-clust object using a simple hclust approach

mcell_mc_from_coclust_hc(mc_id, coc_id, mat_id, K, force = F)

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

K

number of clusters to generate from the coclust hclust. Look at the coclust plot to detemrine this. But make sure you keep the clusters at reasonable size (e.g. <100) for use as metacells.

force

set this to true to overide size limits on hclust