I am trying to remove columns (or adjust table properties, like font size even) in tables in my pdf output so that the table displays well. I am using multiqc 1.33. Currently, some tables look terrible because it shows all the columns. I have tried using a config file to remove columns from the table (i.e. table_columns_visible), but it only works for the html output and not the pdf. How can I adjust table properties in my pdf, like removing columns, or changing font size, or splitting the table into two tables?
Hi @Nikhil_Joshi,
To be honest, PDF generation is pretty horrible in MultiQC and I’ve been toying with the idea of removing support entirely for years now.
table_columns_visible won’t work here because it uses Javascript to hide the columns (allowing the user to show them again). PDF generation uses --template simple which removes all Javascript, so all columns will be visible.
It may be possible to achieve what you want if I update that template to check for hidden status on a column and strip it from the HTML entirely. I see you made an issue already, so I’ll add a note there.
I’m curious to what your use case is for PDF reports? Why do you need PDF vs the self-contained HTML?
Phil
I am writing an automatic report creation pipeline for our Sequencing Core, but the director wants both html and pdf reports. I think because pdfs can’t be altered easily? Not exactly sure. ![]()