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
Whenever possible, *CopyKit* uses the [BiocParallel](https://www.bioconductor.org/packages/devel/bioc/vignettes/BiocParallel/inst/doc/Introduction_To_BiocParallel.pdf) framework.
Running parallel processes is highly recommended to speed up *CopyKit* calculations.
Make sure to read the BiocParallel [vignette](https://www.bioconductor.org/packages/devel/bioc/vignettes/BiocParallel/inst/doc/Introduction_To_BiocParallel.pdf) to choose the best parameters for your machine and OS.
Use `BiocParallel::register()` function to register the number of workers (threads) desired.
To visually monitor the progress, you can use the argument *progressbar*.
*Note about plotHeatmap() function parallelization*:
**plotHeatmap()** uses a different framework and requires the argument *n_threads* to set the number of threads when in use with the argument *order_cells = hclust*. This is to speed up the calculation of a distance matrix. Using more threads when ordering the heatmap with *hclust* will significantly speed up the plotting of the heatmap. See example in plotHeatmap help.