FindACC: Calculate precision, recall, or true negative rate (TNR) of...

View source: R/FindDoublets.R

FindACCR Documentation

Calculate precision, recall, or true negative rate (TNR) of identified doublets

Description

Calculate precision, recall, or TNR based on identified doublet indices and true doublet annotations.

Usage

FindACC(doublet.list, label, type)

Arguments

doublet.list

A list of doublet indices for different doublet-detection methods.

label

A vector of 0/1 doublet annotations.

type

A character of "precision", "recall", or "TNR".

Value

A list of precision, recall, or TNR for different doublet-detection methods.

Examples

acc.list <- FindACC(doublet.list = doublet.list, label = label.list$`J293t-dm`, type = 'precision')


xnnba1984/DoubletCollection documentation built on Dec. 10, 2022, 11:13 a.m.