Performance enhancement:
It can take a while (for example ~10 seconds per experiment) to get metagene data. When sum_references is set to true, get_metagene function typically adds ~20K rows to produce the metagene coverage. Parallelizing the vector additions will give us speed up.
Or we can simply parallelize on the experiment level as each experiment metagene data can be obtained independently.
Performance enhancement:
It can take a while (for example ~10 seconds per experiment) to get metagene data. When
sum_referencesis set to true,get_metagenefunction typically adds ~20K rows to produce the metagene coverage. Parallelizing the vector additions will give us speed up.Or we can simply parallelize on the experiment level as each experiment metagene data can be obtained independently.