-
Notifications
You must be signed in to change notification settings - Fork 6
Too big figures in the report #73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Dear Ivan, Thank you for reaching out and for using MicrobiomeStat! I understand the issue with the figure sizing in the PDF report. Looking at the report generation code, I've noticed that the figure dimensions might be set too large. Let's adjust those parameters to make the figures fit properly on the page. In the report template, please locate the chunk settings that look like this: {r taxa-areaplot-longitudinal-print, echo=FALSE, message=FALSE, results=result.output, fig.align='center', fig.width = 25, fig.height = 15, warning = FALSE} I recommend modifying the Please try these adjusted parameters and let me know if the figures are now displaying at a more appropriate size in your PDF report. Best regards, |
Hello Chen, Thank you for the quick response. However, I used a native function from your package ( Best regards, |
Dear Ivan, Thank you for your follow-up and for clarifying that you're using the I've investigated the issue further and can see that the current implementation works well for most standard cases, but becomes problematic when there are many levels or groups, as in your situation. The figures then become too large to fit properly on the page. For the next release of MicrobiomeStat, I'm planning to implement an adaptive figure sizing system that will:
As a temporary workaround, you could:
I appreciate you bringing this issue to my attention. It's now on our development roadmap and will be addressed in the upcoming release. Best regards, |
Hi,
I’ve been using your very helpful MicrobiomeStat package and wanted to generate a report. However, in the PDF version, the figures appear too large and don’t fit on the page.
I tried adjusting
pdf.wid
andpdf.hei
, but it didn’t seem to help.Could you advise on how to properly resize the figures?
Thank you for your help!
Best,
Ivan
The text was updated successfully, but these errors were encountered: