-
Notifications
You must be signed in to change notification settings - Fork 198
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
Using autoscale local, but having pos_color and neg_color relative to global mean #1530
Comments
One option might be to set the |
That one can be used to adjust the value for a certain region, but then again it will be a problem when looking for values that deviate from the pivot. Chromosome-wide there will be regions that deviate strongly from the mean. For example, if you are looking for signals of selection, as the tracks I am intending to apply, those sites are especially interesting. So, in those regions, the local mean is far from the global mean, but as the pivot is applied locally, it will look like regions in blue like in the image are above the mean, but this is not the reality. At the same time, if the scale is global, the values are too small for being observable. This why I needed the ruler to be adjusted locally, but the |
I think having "autoscale": "local" should adjust the ruler locally, but then having "bicolor_pivot": 6000 would mean that the colors are always pivoted relative to 6000 Is that not what is the proper behavior? |
Now I understand what you mean. Yes, that will solve the color issue. I was overthinking, trying to have all at once. But I still have one issue. The local mean line will be lost with this procedure since the Any way of having the best of both worlds? Thank you |
If you have
Now, having defined
So, you do not have your origin line representing the local mean, since you are using it as the pivot to separate neg and pos color. |
I am using Jbrowse version 1.16.9 to create my Genome Browser.
I have multiple XYplots in which I am using
autoscale:local
. This is an important feature or for me, as I have some extreme values along with the genome and it is useful that the scale is adjustable for the window.My issue is that it results in having the pos_color and neg_color relative to the local mean and not to the global mean, as I intend to. Especially in regions where the global mean is not visible, it can lead to misinterpretations since I am adding selection and population genetics statistics on it.
Is there any workaround where I can use autoscale local for the scale, but maintaining the color relative to the global mean?
Thank you
The text was updated successfully, but these errors were encountered: