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

Failed to create Cairo backend! #16

Open
zh-zhang1984 opened this issue Sep 29, 2021 · 0 comments
Open

Failed to create Cairo backend! #16

zh-zhang1984 opened this issue Sep 29, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@zh-zhang1984
Copy link

Hi, thanks for the excellent package; I encounter following error and am struggling to handle this issue; are there any hints for solving this problem?

> HeatMap_plot <- plot_heatmap(
+   dataset = Sepsis_seurat, 
+   markers = Allmarkers,n=2,
+   sort_var = c("Cell_Type","Condition"),
+   anno_var = c("Cell_Type","Condition","percent.mt","S.Score","G2M.Score"),
+   anno_colors = list(
+     "Set2",# RColorBrewer palette
+     c("red","orange","yellow","purple","blue","green"), # color vector
+                      "Reds",
+     c("blue","white","red"), # Three-color gradient
+     "Greens"))
Warning in set_colors(anno_colors[[i]], length(l)) :
  Number of colors required exceeds palette capacity. RdYlBu spectrum will be used instead.
`use_raster` is automatically set to TRUE for a matrix with more than
2000 columns You can control `use_raster` argument by explicitly
setting TRUE/FALSE to it.

Set `ht_opt$message = FALSE` to turn off this message.
Error in Cairo(width, height, type = "png", file = filename, pointsize = pointsize,  : 
  Failed to create Cairo backend!
@zh-zhang1984 zh-zhang1984 added the bug Something isn't working label Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants