R/Object_Utilities.R
Add_CellBender_Diff.Rd
Calculate the difference in features and UMIs per cell when both cell bender and raw assays are present.
Add_CellBender_Diff(seurat_object, raw_assay_name, cell_bender_assay_name)
object name.
name of the assay containing the raw data.
name of the assay containing the Cell Bender'ed data.
Seurat object with 2 new columns in the meta.data slot.
if (FALSE) {
object <- Add_CellBender_Diff(seurat_object = obj, raw_assay_name = "RAW",
cell_bender_assay_name = "RNA")
}