qiime2 / q2-longitudinal

QIIME 2 plugin for paired sample comparisons
BSD 3-Clause "New" or "Revised" License
9 stars 18 forks source link

ENH: make `group-column` optional in `pairwise-distances` #114

Open nbokulich opened 6 years ago

nbokulich commented 6 years ago

Improvement Description Make group-column optional. Then paired distances would be plotted for all samples. No stats would be calculated.

Current Behavior group-column is required, so some comparison must be made. See example viz

Proposed Behavior Make group-column optional, so that paired distances for all samples can be plotted together.

References forum x-ref

gregcaporaso commented 2 years ago

I just ran into a need for this, so I'll take a crack at a fix.

I feel like there is probably a way to do the stats too, even if there is only one group - e.g., by shuffling the pre-post pairings 1000 times and comparing the median of the actual pre-post data to the distributions of the medians of the 1000 shuffled pairings, but I have to think about that a bit. Anyone have ideas there?