-
Notifications
You must be signed in to change notification settings - Fork 932
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
SpatialDimPlot and DimPlot colors do not match #4102
Comments
Current work around is providing scale_color_brewer(palette = ) to DimPlot and scale_fill_brewer(palette = ) to SpatialPlot, but I am wondering if there is a better way. |
I'm not able to reproduce this. Can you provide the code you used along with a dataset, a subset of a dataset, or a dataset in SeuratData that reproduces this error along with the output of |
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further. |
Hi, Here is my code
And I got this picture for the DimPlot + SpatialDimPlot As you can see, the colors between the DimPlot and the SpatialDimPlot are different. Have a nice day, Here is my sessionInfo()
|
I am trying to visualize the clusters on Dimplot and on SpatialDimPlot, but the colors will not match.
SpatialDimPlot reports the warning: 'Scale for 'fill' is already present. Adding another scale for 'fill',
which will replace the existing scale.' Specifying 'cols =' does not fix the issue either.
Thank you for your help!
The text was updated successfully, but these errors were encountered: