chromVAR
chromVAR copied to clipboard
Question: Where is register(MulticoreParam(8)) being used
I was wondering where in chromVAR parallel processing was being used. In the vignette it is stated to set
library(BiocParallel)
register(MulticoreParam(8))
but in digging through the code I can really see where this is being utilized. My thought would be to use it in some of the processing of .bam files but i'm not seeing anything in get_counts_from_bams
. Would you mind expanding how parallel processing is being used in chromVAR?
Thanks
It is used in a variety of places...search for 'bplapply' in repo. It is used in reading in bam files by RG (but not currently in reading in separate bam files) and in the main compute_deviations
function.