scoreDoublets: Score doublets

View source: R/DownstreamAnalysisFunctions.R

scoreDoubletsR Documentation

Score doublets

Description

scoreDoublets() generates an l-by-l matrix for how often each label is confused for each other label at a given threshold, optinally normalized for total counts of cells for each label (default FALSE)

Usage

scoreDoublets(cellWalk, plot = FALSE, embedding = "tSNE")

Arguments

cellWalk

a cellWalk object

plot

boolean, optionally plot doublet scores in embedding space

embedding

method with which to embed data, either "tSNE" or "UMAP"

Value

cellWalk object with vector of doublet scores stored in "doubletScore"

Examples

data("SampleCellWalkRData")
cellWalk <- scoreDoublets(SampleCellWalkRData$cellWalk)


PFPrzytycki/CellWalkR documentation built on Oct. 26, 2023, 1:50 p.m.