bigomics / playbase

Core back-end functionality and logic for OmicsPlayground
Other
3 stars 0 forks source link

Fix downsampler in top enriched plot for datasets low number of features #133

Closed mauromiguelm closed 1 month ago

mauromiguelm commented 1 month ago

This pull request fixes an issue with the top enriched plot when ntop=1. Previously, the downsampled points were not being correctly calculated for datasets with low number of features, leading to incorrect plot results. This PR updates the code to ensure that the downsampled points are calculated correctly, resulting in accurate plot visualization.

This fixes https://github.com/bigomics/omicsplayground/issues/1022