vmikk / PhyloNext

A pipeline for phylogenetic diversity analysis of GBIF-mediated data
https://phylonext.github.io
MIT License
10 stars 0 forks source link

Intervals of legend change unexpectedly #9

Closed louisehendrickx closed 8 months ago

louisehendrickx commented 1 year ago

The legend shows intervals of percentages (we are looking at PD), but these intervals seem to vary between 4 or 5 levels for different runs, which makes it hard to compare them.

vmikk commented 8 months ago

In the CLI version of PhyloNext, this can be configured using the --leaflet_palette and --leaflet_bins parameters. Currently, these parameters are not implemented in GUI.

The default palette utilizes quantiles, and therefore is dependent on the distribution of the diversity index being analyzed. In some cases (e.g., where the index shows insufficient variability), selecting 5 levels may not be possible.

This issue is associated with Issue #11.