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

Add custom color scale function for self-defined color ordering #23

Merged
merged 1 commit into from
Jun 1, 2023

Conversation

nanxstats
Copy link
Owner

Fixes #22.

This PR updates the FAQ vignette by adding a section. It demonstrates a function that returns a custom color scale function with self-defined color selection and ordering.

@nanxstats nanxstats merged commit 2f06ac4 into master Jun 1, 2023
@nanxstats nanxstats deleted the custom-scale branch June 1, 2023 04:09
@wook2014
Copy link

I have used remotes::install_github("nanxstats/ggsci") to update my ggsci and Skipping install of 'ggsci' from a github remote, the SHA1 (2f06ac4e) has not changed since last install. but it seemed that scale_color_custom is still unavailable. What the problem is and is there any solutions?

@nanxstats
Copy link
Owner Author

@wook2014 scale_color_custom() is not a function that exists in the ggsci namespace. If you are referring to the custom scale function mentioned in the FAQ vignette, it needs to be defined in your working environment first.

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

Successfully merging this pull request may close these issues.

Manually re-order palette
2 participants