assign_scores: Scoring the simulation in assignment of singlets and doublets

View source: R/assessment.R

assign_scoresR Documentation

Scoring the simulation in assignment of singlets and doublets

Description

Scoring the simulation in assignment of singlets and doublets

Usage

assign_scores(prob, I_sim, cutoff = seq(0, 1, 0.001))

Arguments

prob

Probability matrix for each cell to each component

I_sim

The true identity of assignment from simulation

cutoff

A list of cutoffs from 0 to 1

Value

A list with components: df_sg, the recall/precision data.frame calculated by multiPRC(), AUC_sg, the AUC calculated by multiPRC(), df_db, the recall/precision data.frame calculated by binaryPRC() and AUC_db the AUC calculated by binaryPRC(). Note that multiPRC() is run on a multiclass version of the problem and binaryPRC is run on a binarised version of the problem.


davismcc/cardelino documentation built on Nov. 19, 2022, 2:44 a.m.