enrichplot icon indicating copy to clipboard operation
enrichplot copied to clipboard

cnet plot wont show foldchange

Open deevdevil88 opened this issue 2 years ago • 2 comments

Hello, I am using the latest version of enrichplot and clusterProfiler from github. For some reason the cnetplot and heatmap function dont show the Foldchange even if i provide it as a named vector which has been sorted in decreasing order. The nodes are just coloured grey. i have included my code to generate the named numeric vector and the code for the cnetplot

fc_neuron <- Neuronal_treatment_dge[,9]

names(fc_neuron) <- as.character(Neuronal_treatment_dge[,7])

fc_neuron <- sort(fc_neuron, decreasing=T)

cnetplot(go_ora_neuron_simplified,colorEdge=T, node_label ='category', color_category="firebrick", cex_label_category = 0.5, layout='dh',foldChange = fc_neuron) `

Devika

deevdevil88 avatar May 05 '22 12:05 deevdevil88

encounter the same issue, but it works when I use the test sample

baishengjun avatar Jul 12 '22 07:07 baishengjun

a reproducible example is wanted.

GuangchuangYu avatar Aug 29 '22 02:08 GuangchuangYu