Currently the analysis workflow requires significant amount of time to finish.
Several improvements should be considered.
- Replace data.frame with data.table. This can be relevant in the prepareData step as in that step the workflow is handling larger amount of objects. Other steps would not see major benefits from using data.table.
- Consider paralelization of soome steps.