Browse code

Fixed max overlap warnings with ggrepel in plotDimReduceCluster

Joshua D. Campbell authored on 31/03/2022 18:53:47
Showing 1 changed files

... ...
@@ -1131,7 +1131,8 @@ setMethod("plotDimReduceCluster",
1131 1131
       ggrepel::geom_text_repel(
1132 1132
         data = centroid,
1133 1133
         mapping = ggplot2::aes_string(label = "Cluster"),
1134
-        size = labelSize
1134
+        size = labelSize,
1135
+        max.overlaps = Inf
1135 1136
       )
1136 1137
   }
1137 1138
   if (!is.null(x = groupBy)) {