This function takes the number of cores to use for parallel processing and
generates a BiocParallel object that can be used to control the
parallelization of functions.
It automatically determines whether to use the SnowParam or
MulticoreParam of the BiocParallel package based on the operating system.
generateBPParam(cores = 1)The number of cores to use for parallel processing.
A BiocParallel object that can be used to control the
parallelization of functions.