Report/Figure: saving upsetr plots
Currently, the UpSetR
plots are not saved to PDF (only in the rendered HTML report).
Use print(...)
when creating plots to save them to PDF:
pdf(...)
print(UpSetR::upset(...))
dev.off()
Also, the plot object can be saved as the other plots and plotted later using print(...)
. At the moment, the plotting function is called in the rMarkdown files and the rendering script.