Open ramiromagno opened 1 year ago
Hi @ramiromagno
here is a draft of a basic structure we could follow (considering A4 format, yet unrestricted HTML page):
Here is a brief description:
What do you say?
We can have several quarto templates
Yes, it makes sense to me to follow that implementation with a create_report()
function. I have a doubt though. From the user's point of view can we stop when all is filled except points 2 and 5 of the report?
Hi @lsilvam:
Could you make a design draft of the report we intent to create to describe the protein quantification? Something drawn with pen and paper would suffice.
We can then work on a Quarto template (.qmd): https://blog.devgenius.io/how-to-create-dynamic-pdf-reports-with-r-quarto-b9b5217b888c. This quarto template would harbor the text, tables and plots of the report.
Then we can use the function quarto_render() to generate a report. This will be generated dynamically for a given dataset.
We can have several quarto templates, we can place them in
inst/templates
, and then have a function from the protbot package, e.g.create_report()
that takes several arguments, including the original data, the calibration curve data, and some other tweaking options of the report generation.