Description Usage Arguments Value Examples
View source: R/validation_tools.R
Computes the NMI based on the clustering
1 | NMI_cutree(cut_tree, chr)
|
cut_tree |
a numeric vector of cluster selection |
chr |
the ground truth for clusters |
numeric value of NMI (between 0 and 1)
1 2 3 4 5 6 | set.seed(123)
#1: Cluster data
FQC<-FlashQC(QuantumClone::Input_Example,conta = c(0,0),Nclus = 2:10)
#2: Compute NMI
NMI_cutree(FQC$cluster,chr = QuantumClone::Input_Example[[1]]$Chr)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.