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 fd7f1a6d5e6737c6bb09488222eb39c12c5adc0a
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 fd7f1a6d5e6737c6bb09488222eb39c12c5adc0a
More things to refactor:
*_average_replicates()
*_inspect_raw_data()