f1Score | R Documentation |
Calculates the F1 score fore each group in a partition.
f1Score(clustering, cytometry, noise.cells)
clustering |
The labels of the new classification. |
cytometry |
Data of the clustering, where the last variable contains the original labels. |
noise.cells |
An array of labels to be considered as noise. |
A matrix where the first row is the F1 score, the second row is the Precision and the third row is the Recall.
E del Barrio, H Inouzhe, JM Loubes, C Matran and A Mayo-Iscar. (2019) optimalFlow: Optimal-transport approach to flow cytometry gating and population matching. arXiv:1907.08006
f1Score(dplyr::pull(Cytometry3[c(sample(1:250,250),251:(dim(Cytometry3)[1])),],11),
Cytometry3, noise.types)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.