RECETOX / MFAssignR

The MFAssignR package was designed for multi-element molecular formula (MF) assignment of ultrahigh resolution mass spectrometry measurements. A number of tools for internal mass recalibration, MF assignment, signal-to-noise evaluation, and unambiguous formula selections are provided.
GNU General Public License v3.0
0 stars 2 forks source link

Refactor lines 248 - 292 in MFAssignR into a function #37

Open hechth opened 4 months ago

hechth commented 4 months ago

The lines are an if ... else block which could be nicely refactored into 3 functions, one for each branch of the condition and one for the whole thing. I also think maybe some parts of the implementation can be shared to make the if ... else part smaller.

KristinaGomoryova commented 1 month ago

Which particular function in MFAssignR does this relate to?

hechth commented 3 weeks ago

I think MFAssign?