You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The docs say its max/min while the code does min/max. The same is true for the docs and implementation of altRatio. It looks like either a bug, or the docs need to be updated.
The text was updated successfully, but these errors were encountered:
I am trying to understand the calculation of the
StrandOddsRatio
. The online documentation and javadoc for theStrandOddsRatio
class shows it as:$$ refRatio = \frac{max(X[0][0], X[0][1])}{min(X[0][0], X[0][1} $$
Nonetheless, my reading of the code shows it as
$$ refRatio = \frac{min(X[0][0], X[0][1])}{max(X[0][0], X[0][1} $$
The code is:
The docs say its max/min while the code does min/max. The same is true for the docs and implementation of
altRatio
. It looks like either a bug, or the docs need to be updated.The text was updated successfully, but these errors were encountered: