biocore / calour

exploratory and interactive microbiome analyses based on heatmaps
BSD 3-Clause "New" or "Revised" License
27 stars 22 forks source link

fix bug when not using all samples in paired test #244

Closed amnona closed 3 years ago

amnona commented 3 years ago

Fixed a bug where diff_abundance_paired would fail if the 2 values (val1, val2) did not cover all the samples. This happened since we set up the _pair_shuffler in diff_abundance_paired() but did the sample filtering (according to val1,val2) later in diff_abundance() So the fix now does the sample filtering in diff_abundance_paired()

amnona commented 3 years ago

@RNAer small bug fix. can you merge?