Generic function to extract the most informative partition from an ABGD or ASAP result object.
Usage
best_partition(x, ...)
# S3 method for class 'abgd'
best_partition(x, pass = c("recursive", "initial"), ...)
# S3 method for class 'asap'
best_partition(x, rank = NULL, ...)Examples
if (FALSE) { # \dontrun{
result <- abgd("geophagus.fasta", model = "simple")
best <- best_partition(result)
best$n_groups
} # }