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

Lollipop graphs for multiple comparisons #15

Closed ChristinaSchmidt1 closed 1 year ago

ChristinaSchmidt1 commented 1 year ago

At the moment the lollipop graph is for one comparison (e.g. KO versus WT), but we should adapt it for multiple comparisons e.g. KO versus WT Hypoxia and KO versus WT Normoxia,...

ChristinaSchmidt1 commented 1 year ago

I have added an example of a lollipop graph function I have made for two conditions into "04_MetaProVizVisualisation.R line 1766 and following.

The example is for two input DFs, but I think we should aim to make it more flexible (minimum 4 different inputs possible). Maybe in this case they need to provide a list of input DFs including Log2FC, metabolite and stats.

dprymidis commented 1 year ago

Done. As input you can exter a dataframe or a list of dataframes. In case of multiple dataframes the user has to also provide a list of dataframe names.