SRP-pipeline merge requestshttps://gitlab.univ-nantes.fr/bird_pipeline_registry/srp-pipeline/-/merge_requests2020-06-02T15:46:02Zhttps://gitlab.univ-nantes.fr/bird_pipeline_registry/srp-pipeline/-/merge_requests/20Fix problem with gsea ranking due to float precision2020-06-02T15:46:02ZPhilippe BORDRONFix problem with gsea ranking due to float precisionThe "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 analy...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.