diff --git a/NEWS.md b/NEWS.md index fe5f8c2b..9bb13af1 100644 --- a/NEWS.md +++ b/NEWS.md @@ -20,6 +20,8 @@ - The main panel for composite plots (e.g. calibration plots, Kaplan-Meier curves) is no longer of fixed width when title or subtitles are present. +- Thresholds for clustering with correlation-based metrics are now computed correctly. + # Version 1.4.8 (Valorous Viper) ## Bug fixes diff --git a/R/PairwiseSimilarity.R b/R/PairwiseSimilarity.R index 713e97e6..c948488d 100644 --- a/R/PairwiseSimilarity.R +++ b/R/PairwiseSimilarity.R @@ -1209,7 +1209,7 @@ get_similarity_range <- function(similarity_metric, as_distance = FALSE) { value_range <- sort(unique(value_range)) } - return(object@range) + return(value_range) }