katiesaund / hogwash

Three bacterial GWAS methods all rolled into one easy-to-use R package
Other
19 stars 5 forks source link

Make faster/parallelize where possible #69

Open zenalapp opened 4 years ago

zenalapp commented 4 years ago

Kelly Sovacool implemented something possibly similar as far as parallelization here:

https://github.com/SchlossLab/mikRopML/blob/master/R/utils.R

Example of testing on only unique variant patterns:

var1 1 0 1 1
var2 1 0 1 1
var3 1 0 0 0

In this example, you’d only run var1 and var3 (or var2 and var3) because var1 and var2 have identical patterns so the results should be identical.

katiesaund commented 3 years ago

Another way to improve speed for "both" runs - save AR data from phyc and then resuse that data in sync run.