-
Notifications
You must be signed in to change notification settings - Fork 927
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
FeaturePlot() with split.by does not seem to have the same scaling for all subplots #5243
Comments
Hi, Not member of dev team but hopefully can be helpful. What version of Seurat are you using? This issue was addressed in release 3.2.3 (https://github.com/satijalab/seurat/blob/master/NEWS.md#seurat-323---2020-12-14). Best, |
Thank you @samuel-marsh! I was not aware of the keep.scale parameter. |
Setting keep.scale="all" unifies the scales in my specific example with only one feature |
Are you plotting more than one gene/feature? The default should keep scale the same within feature when split. Also be advised that setting to all may result in suboptimal scales when plotting multiple features |
I am using Seurat 4.0.3 . That does not seem to be the case. By default the splits have different scales even for the same feature as you can see in my example. It should not be the case according to the documentation here. As you mentioned setting keep.scale="all" does not seem reasonable to be applied to more than one feature. |
hmmm actually you're right... Something must have gotten lost in recent versions. Hopefully devs can chime in here. Reproducible example below.
*Edit: @andrewwbutler tagging you since you helped with original PR. Thanks!! |
Thanks for generating this example! |
so what is the solution? |
Hi @olneykimberly for now (or for future) you can use Best, |
For future reference this issue was also fixed within Seurat with 4.1 release. https://github.com/satijalab/seurat/blob/master/NEWS.md#seurat-410-2022-01-14 |
Hi @samuel-marsh , now I am trying to use FeaturePlot_scCustom and I am using |
# insert reproducible example here
The text was updated successfully, but these errors were encountered: