Learn R Programming

scCustomize (version 3.0.0)

Add_CellBender_Diff: Calculate and add differences post-cell bender analysis

Description

Calculate the difference in features and UMIs per cell when both cell bender and raw assays are present.

Usage

Add_CellBender_Diff(seurat_object, raw_assay_name, cell_bender_assay_name)

Value

Seurat object with 2 new columns in the meta.data slot.

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.

Examples

Run this code
if (FALSE) {
object <- Add_CellBender_Diff(seurat_object = obj, raw_assay_name = "RAW",
cell_bender_assay_name = "RNA")
}

Run the code above in your browser using DataLab