rformassspectrometry / MetaboAnnotation

High level functionality to support and simplify metabolomics data annotation.
https://rformassspectrometry.github.io/MetaboAnnotation/
15 stars 9 forks source link

Add parameter scalePeaks to plotSpectraMirror #116

Closed jorainer closed 4 months ago

jorainer commented 4 months ago

This PR adds a parameter scalePeaks to plotSpectraMirror,MatchedSpectra that allows to scale the peak intensities before plotting.

jorainer commented 4 months ago

thanks for the review @philouail - the reason to have the default scalePeaks = FALSE to not change the default behavior of the function. So, people that used the function before would still get the same results. Some might be worried/confused if the results changed from one version to the next.