get_dblCalls_ALL: Wrapper for getting doublet calls

View source: R/make_calls.R

get_dblCalls_ALLR Documentation

Wrapper for getting doublet calls

Description

Wrapper for getting doublet calls

Usage

get_dblCalls_ALL(scrs_real, scrs_sim, rel_loss = 1)

Arguments

scrs_real

numeric vector, the scores for the real/original data

scrs_sim

numeric vector, the scores for the artificial doublets

rel_loss

numeric scalar, relative weight of a false positive classification compared with a false negative. Default:1 (same loss for fp and fn).

Value

numeric, matrix containing the (estimated) number of doublets, the score threshold and the fraction of artificial doublets missed (false negative rate, of sorts) as columns and four types of estimating: "youden", "balanced" and a false negative rate of artificial doublets of 0.1 and 0.01, respecitvely.


kostkalab/scds documentation built on Oct. 4, 2022, 6:56 p.m.