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

VizHeatmap - remove and report pathways with only 1 metabolite #27

Closed dprymidis closed 1 year ago

dprymidis commented 1 year ago

Heatmap doesnt work when a pathway has only 1 metabolite. Report the pathway and ignore that pathway

ChristinaSchmidt1 commented 1 year ago

Has this been added now? If so please close it :)

ChristinaSchmidt1 commented 1 year ago

One thing to add here: We still need to add the checks for the input data at the beginning of the function and report if e.g. a pathway (individual="Pathway") was not plotted because it incldued only one feature.

dprymidis commented 1 year ago

Added Input checks and PlotSettingsInfo checks. Added warning that we did not plot pathways with 1 metabolite when individual exists.

Note: Having a pathway for only 1 metabolite works when individual= NULL. I left as it is here.