From 466069c005b51a07647e1488fa3a924f6ab99985 Mon Sep 17 00:00:00 2001 From: Gilquin <laurent.gilquin@ens-lyon.fr> Date: Tue, 16 Apr 2024 15:34:49 +0200 Subject: [PATCH] fix: remove unused option useless n.start option in FindClusters when algorithm=4 --- scripts/5hAPF.R | 2 +- scripts/9396.R | 2 +- scripts/WP.R | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/5hAPF.R b/scripts/5hAPF.R index 7f60021..d14a416 100644 --- a/scripts/5hAPF.R +++ b/scripts/5hAPF.R @@ -155,7 +155,7 @@ Sobject <- FindNeighbors( # apply Leiden clustering algorithm for several resolutions res_vec <- seq(0.1, 1, 0.05) Sobject <- FindClusters( - Sobject, algorithm = 4, resolution = res_vec, n.start = 100, n.iter = 100, + Sobject, algorithm = 4, resolution = res_vec, n.iter = 100, random.seed = 666 ) diff --git a/scripts/9396.R b/scripts/9396.R index 120c68b..069fe2f 100644 --- a/scripts/9396.R +++ b/scripts/9396.R @@ -155,7 +155,7 @@ Sobject <- FindNeighbors( # apply Leiden clustering algorithm for several resolutions res_vec <- seq(0.1, 1, 0.05) Sobject <- FindClusters( - Sobject, algorithm = 4, resolution = res_vec, n.start = 100, n.iter = 100, + Sobject, algorithm = 4, resolution = res_vec, n.iter = 100, random.seed = 666 ) diff --git a/scripts/WP.R b/scripts/WP.R index 40fb222..e80a8dd 100644 --- a/scripts/WP.R +++ b/scripts/WP.R @@ -155,7 +155,7 @@ Sobject <- FindNeighbors( # apply Leiden clustering algorithm for several resolutions res_vec <- seq(0.1, 1, 0.05) Sobject <- FindClusters( - Sobject, algorithm = 4, resolution = res_vec, n.start = 100, n.iter = 100, + Sobject, algorithm = 4, resolution = res_vec, n.iter = 100, random.seed = 666 ) -- GitLab