Learn R Programming

SlideCNA (version 0.1.0)

clone_so: Add clone information to meta data of seurat object and bin the beads

Description

This function adds another column for cluster designation to a seurat object's meta data and bins beads

Usage

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

Value

A seurat object updated with clone information

Arguments

so

Seurat object of beads and their meta data

hcl_sub

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

md

data.table of metadata of each bead

mal

TRUE if only using malignant beads