diff --git a/scripts/5hAPF.R b/scripts/5hAPF.R index 7f6002103c39123b00bb85c60de40b2125d63337..d14a416ae671531d6b816202c9a076b511c2ea5a 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 120c68b87620dbcee13a7fe1b7208fe0f2648b2e..069fe2f8bb2db1c5147b0c47dff7308c832190b7 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 40fb22275b4aa1cd630efc11db2fbce9c1ef9f55..e80a8ddb944430d5073352c68a15d9461b486d1e 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 )