Get quick values for raw counts, CellBender counts, count differences, and percent count differences per feature.

CellBender_Feature_Diff(
  seurat_object = NULL,
  raw_assay = NULL,
  cell_bender_assay = NULL,
  raw_mat = NULL,
  cell_bender_mat = NULL
)

Arguments

seurat_object

Seurat object name.

raw_assay

Name of the assay containing the raw count data.

cell_bender_assay

Name of the assay containing the CellBender count data.

raw_mat

Name of raw count matrix in environment if not using Seurat object.

cell_bender_mat

Name of CellBender count matrix in environment if not using Seurat object.

Value

A data.frame containing summed raw counts, CellBender counts, count difference, and percent difference in counts.

Examples

if (FALSE) {
cb_stats <- CellBender_Feature_Diff(seurat_object - obj, raw_assay = "RAW",
cell_bender_assay = "RNA")
}