make_so_bin: Make a binned version of a Seurat object

View source: R/cluster.R

make_so_binR Documentation

Make a binned version of a Seurat object

Description

Aggregate Seurat object counts by bin to create a new Seurat object with binned beads as units instead of beads

Usage

make_so_bin(so, md, hcl_sub, mal = FALSE)

Arguments

so

Seurat object of beads and their meta data

md

data.frame of metadata for Seurat object

hcl_sub

hierarchical clustering object of cluster assignemnt as outputted from SlideCNA::plot_clones()

mal

TRUE if using malignant beads only

Value

A Seurat object with binned beads as units and corresponding binned metadata


dkzhang777/SlideCNA documentation built on Jan. 25, 2025, 5:53 p.m.