Cnetplots from compareCluster result won't colour by fold change
I have noticed that cnetplots made with a compareCluster result will not colour the genes even when supplied with a sorted gene vector object as in 3.1 input here
I've tested this using the same data where the cnetplots will not colour if the input is a compareClusterResult but will colour if the input is an enrichResult object.
Would appreciate any help regarding this.
Originally posted by @sarahalshammery in https://github.com/YuLab-SMU/clusterProfiler/issues/301#issuecomment-770584070
@huerqiang hi can I please bring your attention to this issue with the comparecluster function and the cnetplot output? Many thanks.
Did you solve this problem? I have the same problem with logFC in compareCluster too. the row names, in this case, would not be unique, I cannot generate an input list. Thank you very much if some one can help!
For compareClusterResult object, a gene may have multiple logFCs, therefore, it is not appropriate to use them to color. So we use colors to represent the source clusters of genes.