Returns a confusion matrix of the found (mapped) vs. real (assigned) clusters.

getConfusionMatrix(realCluster, foundCluster, proportions = TRUE)

Arguments

realCluster

character vector of assigned clusters

foundCluster

character vector of mapped clusters

proportions

FALSE if the counts are to be returned and TRUE if the proportions are to be returned