This is a test version of Biostars. For the public version, visit https://www.biostars.org.
clusterProfiler cnetplot error

clusterProfiler (R) package is indeed a very powerful package in many pathway analysis! But when I use 'cnetplot' function, I often meet the error:

 Error in pathAttr(data, length(unique(data$group))) : 
  Not compatible with requested type: [type=character; target=integer].

Even when I run it with example data(geneList) in DOSE package, it is always the same error. Anyone how to solve this problem? Thank you!

r clusterprofiler

Try changing the group column to a character. data$group <- as.character(data$group).

0 answers

No answers yet.

Log in to answer this question.