enrichplot icon indicating copy to clipboard operation
enrichplot copied to clipboard

UseMethod("rescale") error using cnetplot() function

Open lmanchon opened this issue 2 years ago • 5 comments

cnetplot() failed with:

Error in UseMethod("rescale") : no method for 'rescale' applicable to an object of class "AsIs"

with R version 4.1.2 i have installed ggnewscale package but nothing change.

idea ?

lmanchon avatar Aug 10 '23 14:08 lmanchon

Please use the latest version of clusterProfiler and enrichplot.

See: https://github.com/YuLab-SMU/enrichplot/issues/244

guidohooiveld avatar Aug 15 '23 12:08 guidohooiveld

direct links to download the latests version ?

lmanchon avatar Aug 15 '23 12:08 lmanchon

Mmm, R-4.3.x: https://cran.r-project.org/ Bioconductor v3.17: https://bioconductor.org/packages/release/bioc/html/clusterProfiler.html and https://bioconductor.org/packages/release/bioc/html/enrichplot.html

guidohooiveld avatar Aug 15 '23 12:08 guidohooiveld

okay, i understand now, i need R version R-4.3. i have 4.1.2.

lmanchon avatar Aug 15 '23 12:08 lmanchon

Yep! Sorry if that was not immediately clear to you...

guidohooiveld avatar Aug 15 '23 12:08 guidohooiveld