ClusterGVis icon indicating copy to clipboard operation
ClusterGVis copied to clipboard

这个报错可能是什么原因呢

Open Lizesheng1998 opened this issue 1 year ago • 1 comments

visCluster(object = st.data,

  •        plot.type = "both",
    
  •        line.side = "left",
    
  •        column_names_rot = 45,
    
  •        markGenes = pbmc.markers$gene,
    
  •        cluster.order = c(1:8),
    
  •        ggplot.panel.arg = c(5,0.5,32,"grey90",NA),
    
  •        gglist = gglist)
    

This palatte have 20 colors! Error in ComplexHeatmap::Heatmap(as.matrix(mat), name = "Z-score", cluster_columns = cluster_columns, : unused arguments (ggplot.panel.arg = c("5", "0.5", "32", "grey90", NA), gglist = list(list(list(c("C1", "C1", "C1", "C1", "C1"), 1:5, c(1.543012e-05, 9.403808e-06, 7.425671e-06, 7.425671e-06, 5.744775e-06), c(37.5, 37.5, 37.5, 37.5, 37.5)), list(, , ), , list(), list(list("black", 0.5, 1, "butt", FALSE, TRUE), list("white", "black", 0.5, 1, TRUE), list("", "plain", "black", 11, 0.5, 0.5, 0, 0.9, c(0, 0, 0, 0), FALSE, TRUE), NULL, NULL, NULL, list(NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, c(2.75, 0, 0, 0), NULL, TRUE), list(NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, c(0, 0, 2.75, 0), NULL, TRUE), NULL, list(NULL, NULL, NULL, NULL, NULL, 1, 90, NULL, c(0, 2.75, 0, 0), NULL, TRUE), NULL, list(NULL, NULL, NULL, NULL, NULL, 0, -90, NULL, c(0, 0, 0, 2.75), NULL, TRUE), list(NULL, NULL, "grey30", 0.8, NULL, NULL, NULL, NULL, NULL, NULL, TRUE), list(NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, c(2.2, 0, 0, 0), NULL, TRUE),

Lizesheng1998 avatar Aug 01 '23 17:08 Lizesheng1998

颜色设置的数目不对吧

amateur-boy avatar Aug 03 '23 16:08 amateur-boy