EvolEcolGroup / tidypopgen

https://evolecolgroup.github.io/tidypopgen/
GNU General Public License v3.0
2 stars 0 forks source link

naming of functions #25

Closed dramanica closed 5 months ago

dramanica commented 5 months ago

We need a bit of clean up of names. The suggested logic is that:

We need to think about functions that make pairwise comparisons (e.g. ibs, king, pairwise_popfst). One option is to use the prefix `between. However, this can be ambiguous, as abetweenfunction would return a matrix that could be n x n individuals, or m by m populations. One option is to say thatbetweenfunctions return a matrix of comparisons between individuals, and thatbetweenpopis used for populations. So, we would havebetween_ibsorbetween_kingandbetween_pop_fst`.

dramanica commented 5 months ago

Since between is a dplyr function, we will switch to pairwise_*.