aucprThreshold: Precision-Recall AUC threshold

Description Usage Arguments Value

View source: R/diff-exp.R

Description

The AUC for a random classifier for a precision-recall curve is based on the number of cells in each population. This function determines the random AUC, multiplies it by an arbitrary factor (how much better than random must a classifier be?), and gives it an upper cap.

Usage

1
aucprThreshold(cells.1, cells.2, factor = 1, max.auc = Inf)

Arguments

cells.1

(Character vector) List of cells

cells.2

(Character vector) List of cells

factor

(Numeric) Factor to multiply AUC of random classifier by to determine threshold

max.auc

(Numeric) Upper limit of AUC threshold to return

Value

(Numeric) AUC threshold


farrellja/URD documentation built on June 17, 2020, 4:48 a.m.