ClusterGVis
ClusterGVis copied to clipboard
an error with plotting heatmap
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]))) } }))
Please update your complexheatmap package to the latest version.
The problem have been solved. Thank you for your help! I wonder that whether transcription factor enrichment analysis can be added into your package.
Sorry, I can't.