Learn R Programming

ScRNAIMM (version 0.1)

evaluate_clustering: Evaluate the clustering if you have the original labels

Description

Evaluate the clustering if you have the original labels

Usage

evaluate_clustering(cluster_labels, original_labels)

Value

ARI of clustering 'a value between 0 and 1' 1 indicates best clustering

Arguments

cluster_labels

Cluster labels generated by cluster_cells functions or user-defined

original_labels

Original labels of the ScRNA-seq data

Author

Mohamed Soudy Mohmedsoudy2009@gmail.com

Examples

Run this code
evaluate_clustering(c(1,1,1,1,2,2,3,3), c(1,1,1,1,3,3,3,2))

Run the code above in your browser using DataLab