saezlab / MetaProViz

R-package to perform metabolomics pre-processing, differential metabolite analysis, metabolite clustering and custom visualisations.
https://saezlab.github.io/MetaProViz/
GNU General Public License v3.0
10 stars 0 forks source link

Viz functions: Export two plot lists #66

Closed ChristinaSchmidt1 closed 9 months ago

ChristinaSchmidt1 commented 1 year ago
  1. "Plots": Plot with standard grids as given by ggplot. This version can be easily modified by the user as the ability to change theme, overlay cutoff-lines or other things is the standard ggplot syntax and way. After they have done their changes they could use our helper function if they want a similar grid format to save their plot in.
  2. "PublicationReadyPlots": Plot with modified grid by us for publication ready format. Here the user has not all abilities to change the plot further to their liking.

IMPORTANT: When this is done we need to make sure we return/save the right plots in the other functions that use Viz functions. So we need to adapt the code there to extract the plots from the lists.

ChristinaSchmidt1 commented 10 months ago

Add to description of this, that this exported list can be used to combine plots into a single plot using facet_grid or patchwork::wrap_plots. This could be done randomly or using additional information about the metabolites (e.g. pathways, ...)

Write a function that can use the ggplots from the list and create the facet grids

ChristinaSchmidt1 commented 9 months ago

Export is now possible!