-
Notifications
You must be signed in to change notification settings - Fork 119
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
Incorrect position of hit in gseaplot2 like #222 #248
Comments
Hi, I tried to fix this bug. I am not sure if the fix is correct, so please check if you want. Prior to the fix, pseudo vlines ranged from 0 to the number of terms -1, and when drawing real vlines, they were drawn broadly for each term. Therefore, fix #249 aligns the position of the hit track with the position of the mountain curve increment. |
I think I know what happend here now. but the left edge should be start at 0. |
align gene hits track in TracePlot (fixes #248)
No worries. I should not have make the mistake in the first place |
Setup
I am reporting a problem with GSEApy version, Python version, and operating
system as follows:
3.11.0 | packaged by conda-forge | (main, Oct 25 2022, 06:12:32) [MSC v.1929 64 bit (AMD64)]
CPython
Windows-10-10.0.19045-SP0
1.1.1
Expected behaviour
In gseaplot2, the vline of hits should exist at the x coordinate where the line of RES is increasing.
Actual behaviour
The x-coordinates of the increasing RES line do not correspond to the x-coordinates of the vline.
In the following code,
hits
are the following arrays, for example, but the rightmost orange and blue hit is at the same position (100).Steps to reproduce
The text was updated successfully, but these errors were encountered: