simplifyEnrichment
simplifyEnrichment copied to clipboard
Error in anno_word_cloud
mat = matrix(rnorm(100*10), nrow = 100)
split = sample(letters[1:5], 100, replace = TRUE)
term = lapply(letters[1:5], function(x) {
data.frame(c("This is the first sentence.", "This is the second sentence."), c(1, 1))
})
names(term) = letters[1:5]
Heatmap(mat, row_split = split,
right_annotation = rowAnnotation(wc = anno_word_cloud(split, term,
add_new_line = TRUE, value_range = c(1, 1), fontsize_range = c(10, 10)))
)
Error in anno_zoom(...) : unused arguments (add_new_line = TRUE, value_range = c(1, 1)) How to fixed it?