Closed GuangchuangYu closed 3 years ago
library(ReactomePA) y <- enrichPathway(de) ## fail to wrap string p1 <- dotplot(y, label_format = 20) ## works p2 <- dotplot(y, label_format = function(x) stringr::str_wrap(x, width=20))
We need to update https://github.com/YuLab-SMU/enrichplot/blob/master/R/utilities.R#L318-L341 to fix this issue.
see also https://github.com/YuLab-SMU/enrichplot/pull/73.
好的,老师,我今天晚点去修改一下。
https://github.com/YuLab-SMU/enrichplot/pull/137.
We need to update https://github.com/YuLab-SMU/enrichplot/blob/master/R/utilities.R#L318-L341 to fix this issue.
see also https://github.com/YuLab-SMU/enrichplot/pull/73.