Learn R Programming

scAnnotate (version 0.3)

eva_cal: eva_cal

Description

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

Usage

eva_cal(prediction, cell_label)

Value

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

Arguments

prediction

A vector of annotate cell type labels

cell_label

A vector of original cell type labels

Examples

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

Run the code above in your browser using DataLab