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
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.
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.