sgibb / MALDIquant

Quantitative Analysis of Mass Spectrometry Data
https://strimmerlab.github.io/software/maldiquant/
60 stars 25 forks source link

warping - obtain number of matched peaks #59

Closed foellmelanie closed 5 years ago

foellmelanie commented 5 years ago

Hi,

is there an easy way to obtain the number of matched peaks out of reference peaks as a numeric value (instead of printed in the warping plot header) during/after warping?

Thanks, Melanie

sgibb commented 5 years ago

Sorry for the delayed answer. Until now there was no possibility to obtain the number of matched peaks. I add a new attribute, namely nmatch to the output of determineWarpingFunctions. Please give it a try. If it works for you I will upload this version to CRAN.

(you can install the latest development version via devtools::install_github("sgibb/MALDIquant"))