-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sort decreasing only for DOSE YuLab-SMU/DOSE#58 #59
base: devel
Are you sure you want to change the base?
Conversation
I don't think it's necessary to modify it. |
I am using this with user sorted data. The data is sorted in ascending order but GSEA using fgsea won't run because of the "should be sorted in decreasing order only" error. The idea behind
|
If the order of input is randomly sorted, the result(rank and leading_edge) will be affected: |
Thanks, I've only been looking at it visually and it seemed the graph would be a mirror image of that of the descending sort. We would expect genes at the left in a descending sort to show up on the right instead. From the output (e.g. |
Your submission will bring hidden dangers, as I mentioned earlier. |
Hi @huerqiang I have taken a look at what From ctlab/fgsea#96 and other related issues though, it seems that changing sort to anything else would have resulted in similar results here so not sure what exactly causes the differences in output as you noted earlier. |
@Nelson-Gon |
Hi,
This removes the need for a decreasing only sort if not using
DOSE
. Inis.sorted
decreasing was set toTRUE
which also affectedfgsea
.Thank you,
NelsonGon