You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When going through Feature assay plots across multiple genes, the axis scales are always adjusted to cover the complete range. However, this makes it difficult to compare expression levels across genes. And when comparing conditions, differences are exaggerated.
Describe the solution you'd like
Be able to set the axis scales manually.
Describe alternatives you've considered
A tick box with "include 0" or "rescale to maximum range" would work too.
Excellent point. Please find below a few thoughts before we move to implementation.
Include zero makes complete sense in many cases, though we'd have to be careful around assays that may not range from zero to infinity (e.g. scaled assays).
Not sure what you mean by "rescale to maximum range". You just pointed out that the default behaviour is to cover the complete range.
In any case, I'll think about it in more depth at the next opportunity to think of a compromise between maximum flexibility for the user, and minimum number of additional UI elements needed to achieve that. We generally want to avoid overcrowding the interface unnecessarily.
EDIT: (Apologies about the closing/reopening of the issue. I accidentally misclicked while typing).
Just a note here that we also considered multi-feature FeatureAssayPlots at some point (which could make it easier to keep a consistent y-axis). I believe we had a working implementation but that we were still discussing to what extent we could generalise the approach.
Not sure what you mean by "rescale to maximum range".
I mean pretty much what @csoneson is writing; that is to have a fixed scale for an assay, resp. the same y-axis. Basically that would be range(0, max(ASSAY)). But I'm quite curious how the multi-feature FeatureAssayPlots would look like.
Activity
kevinrue commentedon Oct 31, 2024
Thanks for your feedback!
Excellent point. Please find below a few thoughts before we move to implementation.
In any case, I'll think about it in more depth at the next opportunity to think of a compromise between maximum flexibility for the user, and minimum number of additional UI elements needed to achieve that. We generally want to avoid overcrowding the interface unnecessarily.
EDIT: (Apologies about the closing/reopening of the issue. I accidentally misclicked while typing).
csoneson commentedon Oct 31, 2024
Just a note here that we also considered multi-feature FeatureAssayPlots at some point (which could make it easier to keep a consistent y-axis). I believe we had a working implementation but that we were still discussing to what extent we could generalise the approach.
dominikburri commentedon Nov 1, 2024
Hi @kevinrue and @csoneson ,
thanks for the swift answers.
I mean pretty much what @csoneson is writing; that is to have a fixed scale for an assay, resp. the same y-axis. Basically that would be
range(0, max(ASSAY)). But I'm quite curious how the multi-feature FeatureAssayPlots would look like.kevinrue commentedon Nov 1, 2024
Ok, because to me "max range" means from the minimum observed value to the maximum observed value (what ggplot does by default)
Given that iSEE users can potentially throw in any kind of assay of any range (not constrained by zero), "max range" can be relatively ambiguous.
I'm starting to picture an approach that offers flexibility without overloading the UI. Bear with me