Closed jolespin closed 1 year ago
Hi @jolespin,
I think this is too specific to be implemented in Pingouin (paper from 2020 with 20 citations). I see that you already have developed a Python package dedicated to compositional data (https://github.com/jolespin/compositional), why not implement it there? For reference, see also:
Thanks, Raphael
Would the best way to implement pairwise partial correlation to just do a for loop between all pairs of features? Or is there a more efficient way you would recommend?
Pairwise partial correlation is already implemented in Pingouin in the https://pingouin-stats.org/build/html/generated/pingouin.pairwise_corr.html#pingouin.pairwise_corr function, which is indeed basically a for loop between all pairs of features. See also the https://pingouin-stats.org/build/html/generated/pingouin.pcorr.html#pingouin.pcorr function
Closing this, but feel free to reopen if needed
Trying to reproduce the methodology in the following publication:
https://www.sciencedirect.com/science/article/pii/S2590197420300082
In particular, implementing pairwise partial correlations for compositional data. This is pretty powerful for any biological data that comes from a DNA/RNA sequencing machine.
Is there any pairwise implementation available with Pingouin?