formbio / laava

LAAVA: Long-read AAV Analysis
MIT License
6 stars 1 forks source link

Split heavy calculations from Rmd into a separate script #17

Closed etal closed 4 months ago

etal commented 4 months ago

The Rmarkdown template (src/report.Rmd) contains a section "calculate" which loads CSV files, computes summary dataframes, writes some additional TSV files, and saves its state as an .Rdata file, but does not render plots or user-facing tables on its own. The visual elements are in separate, downstream sections in the Rmd template.

Rmarkdown runs these calculations end-to-end for each output report format (HTML and PDF). To avoid this redundant work and reduce overall runtime by a bit, and for separation of concerns and the convenience of downstream consumers, let's:

etal commented 4 months ago

Addressed in PR #14