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

Colors in HeatmapAnnotation() in ComplexHeatmap become vague in PDF output #1203

Open
xlucpu opened this issue Sep 6, 2024 · 0 comments
Open

Comments

@xlucpu
Copy link

xlucpu commented Sep 6, 2024

I am using ComplexHeatmap in R to generate an oncoprint with annotations for ~10,000 samples. When viewing the heatmap within R, the colors in the annotations are clear, see below:
80edc0140331da3901ad4fb1d42b507

However, when I export the heatmap to a PDF, the colors in the annotations become vague and unclear, see below:
8787917ee4132ff23c294a2aa6bf03b

I understand that the use_raster argument can help for heatmap bodies, but it doesn't seem to apply to HeatmapAnnotation().

Any suggestions?

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