evaluate: Function for evaluating F1 by cell type, adapted from...

View source: R/utils.R

evaluateR Documentation

Function for evaluating F1 by cell type, adapted from automated cell type identifiaction benchmarking paper (Abdelaal et al. Genome Biology, 2019)

Description

Function for evaluating F1 by cell type, adapted from automated cell type identifiaction benchmarking paper (Abdelaal et al. Genome Biology, 2019)

Usage

evaluate(true, predicted)

Arguments

true

vector of true labels

predicted

vector of predicted labels

Value

A list of results with confusion matrix ($Conf), median F1-score ($MedF1), F1 scores per class ($F1), and accuracy ($Acc).


symphony documentation built on Jan. 17, 2023, 1:13 a.m.