Calculate and add differences post-cell bender analysis — Add_CellBender_Diff (original) (raw)
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)
Arguments
seurat_object
object name.
raw_assay_name
name of the assay containing the raw data.
cell_bender_assay_name
name of the assay containing the Cell Bender'ed data.
Value
Seurat object with 2 new columns in the meta.data slot.
Examples
if (FALSE) {
object <- Add_CellBender_Diff(seurat_object = obj, raw_assay_name = "RAW",
cell_bender_assay_name = "RNA")
}