VEuPathDB / microbiomeComputations

1 stars 0 forks source link

alpha diversity: do not always set range to be [0, 1] #23

Closed asizemore closed 1 year ago

asizemore commented 2 years ago

Currently we're setting the displayRange to be [0, 1] for all alpha diversity types. This is not correct (shannon, for example).

Decide if any truly need a displayRange, and at the very least ensure those that aren't restricted to [0, 1] are not given that displayRange.

asizemore commented 1 year ago

Fixed. see https://github.com/VEuPathDB/microbiomeComputations/blob/851b8c23f23544c4c52b2fd992b93562b1f18adf/R/method-alphaDiv.R#L87