Pachka / mwss-App

RRShiny application to run stochastic epidemiological simulations for nosocomial spread in structured healthcare settings
GNU General Public License v3.0
0 stars 0 forks source link

Fix data.table/dplyr coding in new simplified plots #34

Closed qleclerc closed 1 year ago

qleclerc commented 1 year ago

The code for new plots must be reworked to run more efficiently, as there is currently time lost by switching between data.table and dplyr structures.

See functions/plotsoutputModule.R, lines 391-432 and lines 595-665

Pachka commented 1 year ago

@qleclerc, I fixed the melt issue but the plot are still taking time to display.... Maybe double check the plot content before closing the issue

qleclerc commented 1 year ago

Plots are now much faster to display than before the fix, so I think we can close this issue. The optimal solution for later will be to integrate the new plotting functions in mwss directly to avoid inline function definition, but this is not urgent.