Guillawme/rfret

Eliminate code duplication

Opened this issue · 0 comments

There is currently a fair amount of code duplication, and stabilizing the interface requires getting rid of this duplication. The goal would be to have generic functions for most tasks, internally calling specialized functions based on the value of a parameter. This way, extending the package would simply require adding a specialized function and a parameter caught by a switch statement in the generic function.

This refactoring started in #33 and fd7f1a6

More things to refactor:

  • *_average_replicates()
  • *_inspect_raw_data()