get_dblCalls_dist: Derive doublet calls from doublset scores

View source: R/make_calls.R

get_dblCalls_distR Documentation

Derive doublet calls from doublset scores

Description

Given score vectors for real data and artificial doubles, derive doublet calls based on determining doublet score cutoffs.

Usage

get_dblCalls_dist(scrs_real, scrs_sim, type = "balanced")

Arguments

scrs_real

numeric vector, the scores for the real/original data

scrs_sim

numeric vector, the scores for the artificial doublets

type

character or numeric, describes how the score threshold for calling doublets is determined. Either "balanced" or a number between zero and one that indicates the fraction of artificial doublets missed when making calls. Default: "balanced".

Value

numeric, vector containing the (estimated) number of doublets, the score threshold and the fraction of artificial doublets missed (false negative rate, of sorts)


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