Hi Pierre!
Thank you very much for your comments ;)
Regarding your question, as we are dealing with Bayesian statistics instead of the frequentist approach, there is no 5% (p < 0.05) rule that we can follow. If you are interested in saying that two distributions are different, then I would use at least a 95 % threshold (even 99 % if you want to be more confident). Also, there are 2 things to mention: the function compareTwoDistributions (or pairwiseComparisons) uses 2 algorithms to compare 2 distributions. If you use the Bhattacharyya coefficient (test = "bhatt") it will measure the overlap between 2 distributions, while if you use test = "<", "<=", ">" or ">=", it will randomly take 2 values from each distribution and compare them using the logical test (this is the approach that Andrew Jackson used in SIBER).
Regarding your comment to future development, it would be possible to use different TEF in the same model, but I guess it is easier to separate the data frame as you did, calculate the model with different TEFs per separate, and then combine the output. This should be pretty straightforward though. If you want I can prepare a vignette on this, because it will take a few lines to do it! If you already publish your data, I can use the same data with the vignette.
Cheers
Claudio