YuLab-SMU / GOSemSim

:golf: GO-terms Semantic Similarity Measures
https://yulab-smu.top/biomedical-knowledge-mining-book/
58 stars 26 forks source link

Is it possible to run in parallel? #38

Closed snijesh closed 1 year ago

snijesh commented 1 year ago

I have a long list of genes stored in data$ID. I want to calculate semantic similarty using Wang measure as follows. result = mgeneSim(data$ID, semData=hsGO2, measure="Wang",combine="BMA",verbose=FALSE)

How do I parallelize the same code to generate the results with shorter time?

qibaiqi commented 1 year ago

I have a long list of genes stored in data$ID. I want to calculate semantic similarty using Wang measure as follows. result = mgeneSim(data$ID, semData=hsGO2, measure="Wang",combine="BMA",verbose=FALSE)

How do I parallelize the same code to generate the results with shorter time?

Sorry to tell you that GOSemSim package don't support parallel calculation for now.

snijesh commented 1 year ago

GOSemSim package don't support parallel calculation for now.