clust.rand.rb
Calculates the Rand Index and the Adjusted Rand Index between two clusterings. The clustering format is a raw text file with one cluster per line, each defined as comma-delimited members, and a header line (ignored). Note that this is equivalent to the OGs format for 1 genome.
See source code, Artistic license 2.0.
§ References
Rand, 1971, J Am Stat Assoc; Hubert & Arabie, 1985, J Classif; Rodriguez-R & Konstantinidis, 2016, PeerJ Preprints.
§ Requirements
§ Usage
clust.rand.rb --clust1 in_file --clust2 in_file [opts]
§ Arguments
- Input file 1*
--clust1 in_file
First input file.- Input file 2*
--clust2 in_file
Second input file.- Precision
--prec integer
Precision to report.- Quiet
--quiet
Run quietly (no STDERR output).