Skip to content

Commit

Permalink
helps with #7
Browse files Browse the repository at this point in the history
  • Loading branch information
raysinensis committed Sep 29, 2024
1 parent af40601 commit 2e11637
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/color_repel.R
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ color_repel <- function(g,
clust <- res[[2]]
} else {
if (nrow(em) > downsample) {
message("downsampling... (also consider trying downsample='chull')")
frac <- downsample / nrow(em)
res <- by_cluster_sampling(em, clust, frac, seed = seed)
em <- res[[1]]
Expand Down

0 comments on commit 2e11637

Please sign in to comment.