get_dblCalls_dist: Derive doublet calls from doublset scores

Description Usage Arguments Value

View source: R/make_calls.R

Description

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

Usage

1
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)


scds documentation built on Nov. 8, 2020, 7:01 p.m.