ClusterGVis icon indicating copy to clipboard operation
ClusterGVis copied to clipboard

an error with plotting heatmap

Open BaoLiu1989 opened this issue 2 years ago • 3 comments
trafficstars

I got an error when I run this package with exps data in my Win10 system. Would you help me to fix it? Thank you! The code and errors listed below: library(ClusterGVis) data(exps) head(exps,3) getClusters(exp = exps) cm <- clusterData(exp = exps, cluster.method = "mfuzz", cluster.num = 8) visCluster(object = cm,plot.type = "line") visCluster(object = cm,plot.type = "heatmap")

When I plot heatmap, the error appeared. (Error in ComplexHeatmap::anno_block(align_to = align_to, panel_fun = function(index, : unused arguments (align_to = align_to, panel_fun = function(index, nm) { npos = as.numeric(unlist(strsplit(nm, split = "C"))[2]) grid::grid.rect(gp = grid::gpar(fill = colanno[npos], col = NA)) if (annnoblock.text == TRUE) { grid::grid.text(label = paste("n:", length(index), sep = ""), rot = 90, gp = grid::gpar(col = annnoblock.gp[1], fontsize = as.numeric(annnoblock.gp[2]))) } }))

BaoLiu1989 avatar Nov 29 '22 13:11 BaoLiu1989

Please update your complexheatmap package to the latest version.

junjunlab avatar Nov 29 '22 13:11 junjunlab

The problem have been solved. Thank you for your help! I wonder that whether transcription factor enrichment analysis can be added into your package.

BaoLiu1989 avatar Nov 29 '22 15:11 BaoLiu1989

Sorry, I can't.

junjunlab avatar Nov 30 '22 03:11 junjunlab