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

Is it possible to have barplot annotation with different colours on different rows in OncoPrint? #1215

Open
deyanyosifov opened this issue Oct 29, 2024 · 0 comments

Comments

@deyanyosifov
Copy link

Hi, and thank you for the package. I have the following problem (wish). I have succeeded to make an OncoPrint with a bar annotation on the right side (the OncoPrint and the annotation as separate objects, then joining them in a list and plotting them together using draw()). It works fine but now I want to use different colours for the bars on different rows depending on whether the respective row depicts a mutation, chromosome gain or chromosome loss (this is what the main oncoPrint displays and I use different colours there). Whatever I tried, colour changes affect all of the bars on all rows. How can I define different colours for different rows if it is at all possible?

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

1 participant