Skip to content
Permalink
Browse files

Remove algorithmic shortcut from PAM

The first algorithmic shortcut proposed in PAM hangs forever in some corner cases, so I'm removing it for a safer execution.
  • Loading branch information
lmrodriguezr committed Feb 26, 2020
1 parent 582a803 commit d0d9953ad90d594a2c0ef5fc8fe8e98b40923f5f
Showing with 1 addition and 1 deletion.
  1. +1 −1 utils/subclades.R
@@ -133,7 +133,7 @@ subclade_clustering <- function(out_base, thr, ani.d, dist_rdata) {

# Classify genomes
say("Classify => k :", top.n, "| n :", length(labels(ani.d)))
ani.cl <- pam(ani.d, top.n, pamonce=1)
ani.cl <- pam(ani.d, top.n)
ani.types <- ani.cl$clustering
ani.medoids <- ani.cl$medoids

0 comments on commit d0d9953

Please sign in to comment.
You can’t perform that action at this time.