eva_cal {scAnnotate}R Documentation

eva_cal

Description

calculate the F1 score of each cell population, mean of F1 score and overall accuracy

Usage

eva_cal(prediction, cell_label)

Arguments

prediction

A vector of annotate cell type labels

cell_label

A vector of original cell type labels

Value

A matrix contain the F1 score of each cell population, mean of F1 score and overall accuracy

Examples

data(predict_label)
data(pbmc2)
eva_cal(prediction = predict_label,cell_label = pbmc2[,1])


[Package scAnnotate version 0.3 Index]