Learn R Programming

symphony (version 0.1.2)

evaluate: 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)

Value

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

Arguments

true

vector of true labels

predicted

vector of predicted labels