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

Issue with colors in 'make_combined_graphs.R #72

Open
mbeckm01 opened this issue Apr 28, 2022 · 1 comment
Open

Issue with colors in 'make_combined_graphs.R #72

mbeckm01 opened this issue Apr 28, 2022 · 1 comment
Assignees
Labels

Comments

@mbeckm01
Copy link

Hi everyone,

I'm having an issue with my combined bar plot showing 4 taxa as the same color. Is there a way to change this so that each taxa is a different color?
organismcombined_graph.pdf

Thanks in advance!
MB

@transcript
Copy link
Owner

Hey MB,

I've not seen this occur before, but I suspect that it's a problem with the color palette. Since you don't have a huge number of organisms, you could try changing "Cb64k" in lines 184 and 194 to be "CbPalette", the other palette that I include.

You could also pick your own colors if you want to fill in hex color codes for them, and just save a list of those as a new variable and use that variable in lines 184 and 194.

Best,
Sam

@transcript transcript self-assigned this Apr 29, 2022
@transcript transcript added the R label Apr 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants