Aggregate Seurat object counts by bin to create a new Seurat object with binned beads as units instead of beads
make_so_bin(so, md, hcl_sub, mal = FALSE)
A Seurat object with binned beads as units and corresponding binned metadata
Seurat object of beads and their meta data
data.frame of metadata for Seurat object
hierarchical clustering object of cluster assignemnt as outputted from SlideCNA::plot_clones()
TRUE if using malignant beads only