Open michaelwitting opened 2 years ago
Yes, maybe have a second table also with specific RT and ppm windows for each suspect in that table?
That might be a bit to complicated, since we have to construct the param
object again and again. Dependent on the number of compounds that might influence the performance.
My suggestion is to check if the read data contains mz instead of exact_mass. If yes, we would use the MzParam
or MzRtParam
, if no everything stays the same as now.
I will try to implement this.
In some cases users might have already precalculated m/z tables, e.g. for substance ionizing with adducts not covered at the moment in
MetaboCoreUtils
or only measurable as in-source fragment. We should give the option for users to use also precalculated tables. What do you think @chufz ? I have already an idea how to implement this.