clusterProfiler
clusterProfiler copied to clipboard
Error when using `dotplot` on `compareClusterResult`
Prerequisites
- [x] Have you read Feedback and follow the guide?
- [x] make sure your are using the latest release version
- [x] read the documents
- [x] google your quesion/issue
Describe you issue
I generated results using compareCluster
method, which I am trying to use with dotplot
. However, I get the following error:
> simplify_cp <- clusterProfiler::simplify(
cp_compareCluster,
cutoff = 0.7,
by = "p.adjust",
select_fun = min,
measure = "Wang"
)
> clusterProfiler::dotplot(simplify_cp)
Error in continuous_scale(aesthetics, "viridis_c", gradient_n_pal(viridis_pal(alpha, :
unused arguments (low = "red", high = "blue")
I'm using the latest master for both clusterProfiler and enrichPlot.
Addendum
Editing scale_color_continuous(low="red", high="blue",
in dotplot.compareCluster
to remove the arguments fixes the issue for me.