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:
However, when I export the heatmap to a PDF, the colors in the annotations become vague and unclear, see below:
I understand that the use_raster argument can help for heatmap bodies, but it doesn't seem to apply to HeatmapAnnotation().
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:
However, when I export the heatmap to a PDF, the colors in the annotations become vague and unclear, see below:
I understand that the use_raster argument can help for heatmap bodies, but it doesn't seem to apply to HeatmapAnnotation().
Any suggestions?