You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run Seurat::FindClusters using the future package I get the following warning:
> breast_cancer_patients_tumor_cells <- FindClusters(
+ breast_cancer_patients_tumor_cells,
+ resolution = seq_res,
+ cluster.name = tumor_cluster_seq_res,
+ random.seed = 5,
+ verbose = TRUE)
Warning: NAs produced by integer overflowModularity Optimizer version 1.3.0 by Ludo Waltman and Nees Jan van Eck
Number of nodes: 38284
Number of edges: 1432724
Running Louvain algorithm...
Maximum modularity in 10 random starts: 0.9574
Number of communities: 8
Elapsed time: 5 seconds
Modularity Optimizer version 1.3.0 by Ludo Waltman and Nees Jan van Eck
Number of nodes: 38284
Number of edges: 1432724
Running Louvain algorithm...
Maximum modularity in 10 random starts: 0.9455
Number of communities: 12
Elapsed time: 6 seconds
Warning: UNRELIABLE VALUE: One of the ‘future.apply’ iterations (‘future_lapply-2’) unexpectedly generated random numbers without declaring so. There is a risk that those random numbers are not statistically sound and the overall results might be invalid. To fix this, specify 'future.seed=TRUE'. This ensures that proper, parallel-safe random numbers are produced via the L'Ecuyer-CMRG method. To disable this check, use 'future.seed = NULL', or set option 'future.rng.onMisuse' to "ignore".Modularity Optimizer version 1.3.0 by Ludo Waltman and Nees Jan van Eck
Number of nodes: 38284
Number of edges: 1432724
Running Louvain algorithm...
Maximum modularity in 10 random starts: 0.9348
Number of communities: 13
Elapsed time: 6 seconds
Warning: UNRELIABLE VALUE: One of the ‘future.apply’ iterations (‘future_lapply-3’) unexpectedly generated random numbers without declaring so. There is a risk that those random numbers are not statistically sound and the overall results might be invalid. To fix this, specify 'future.seed=TRUE'. This ensures that proper, parallel-safe random numbers are produced via the L'Ecuyer-CMRG method. To disable this check, use 'future.seed = NULL', or set option 'future.rng.onMisuse' to "ignore".Modularity Optimizer version 1.3.0 by Ludo Waltman and Nees Jan van Eck
Number of nodes: 38284
Number of edges: 1432724
Running Louvain algorithm...
Maximum modularity in 10 random starts: 0.9243
Number of communities: 13
Elapsed time: 5 seconds
Warning: UNRELIABLE VALUE: One of the ‘future.apply’ iterations (‘future_lapply-4’) unexpectedly generated random numbers without declaring so. There is a risk that those random numbers are not statistically sound and the overall results might be invalid. To fix this, specify 'future.seed=TRUE'. This ensures that proper, parallel-safe random numbers are produced via the L'Ecuyer-CMRG method. To disable this check, use 'future.seed = NULL', or set option 'future.rng.onMisuse' to "ignore".
At the top of my Quarto file I set the future.seed option:
# Replace this future symbols with others because they conflict with the zeallot package
library (future, exclude= c("%->%", "%<-%"));
`%<--%`=future::`%<-%` ;
`%-->%`=future::`%->%` ;
# Parallelize the computation with several worker processes that will run in their own R session
plan("multisession", workers=6)
# Set the maximum size of the future globals
options(future.globals.maxSize=6.5*2^30)
# Ensure proper random number seeding globally
options(future.seed=TRUE)
When I run Seurat::FindClusters using the future package I get the following warning:
At the top of my Quarto file I set the future.seed option:
I saw the other bug reports but none of them seems to have a fix for this.
The text was updated successfully, but these errors were encountered: