microbiome / miaTime

Microbiome time series analysis
https://microbiome.github.io/miaTime/
Artistic License 2.0
5 stars 4 forks source link

Rethink divergence #49

Open antagomir opened 2 years ago

antagomir commented 2 years ago

We have now

The latter can replace the former (there is same functionality + more). The latter can do this operation group-wise as well.

However we might also like to define "baseline" per group in arbitrary manner, for instance not just first but also last time point, or anything else. This would support the introduction of a generic function where one can insert group-specific reference samples (calculated separately by the user for instance). This could be just miaTime::estimateDivergence for instance, replacing the earlier ones.

Then we can have additional wrappers named

if that seems necessary.