Skip to content
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

set the scale value for featureplot #108

Open
kohei-onishi-0219 opened this issue Apr 26, 2023 · 1 comment
Open

set the scale value for featureplot #108

kohei-onishi-0219 opened this issue Apr 26, 2023 · 1 comment

Comments

@kohei-onishi-0219
Copy link

Hi, I'm usign BayesSpace for Visium subspot visualization.

When I change the scalevalue as follows.
featureplot(object, "GENE", high = "red") + scale_fill_continuous(limits = c(0,5))
I could adjust the scale value, but the color was changed.
Instead, I used featureplot(object, "GENE", high = "red") + scale_color_continuous(limits = c(0, 5)).
It doesn't change the scale value.
Do you have any resolution to adjust the scale value without changing the original pseudocolor.

@edward130603
Copy link
Owner

Apologies for the late response. I’m not sure I understand entirely what you are trying to do but if the presets in the featurePlot function don’t work for you, I would suggest just not setting the high parameter and doing everything using scale_fill_continuous or another ggplot function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants