Nantes Université

Fix problem with gsea ranking due to float precision

Philippe BORDRON a demandé de fusionner gsea-fix vers master

The "inverse pvalue" computed with 1 - padj is problematic with R due to rounding problem when pvalue is next to 0.

> 1 - 1.32e-30
[1] 1
> 1 - 1.32e-30 == 1
[1] TRUE

This can cause problem when ranking gene list for gsea analysis, because many inverse pvalues become equal.

Computing it with 1 / padj (the true inverse function) solve this issue.

Rapports de requête de fusion