How to generate circular cnetplot and color nodes and edges in the same plot ?
0
0
Entering edit mode
Blandine • 0
@f7de3201
Last seen 25 minutes ago
Canada

Hi everyone, I am looking for generate a circular cnetplot like the c plot enter image description here

But the only thing I am able to generate are the a and b plots. It's like the "circular" isn't working, and I am not able to generate the categorie legend and the color of the edge either. I am able to put colors on the nodes with foldchange though, What I am missing ? Thank you so much for your help ! Here is my code.

````` go_enrichment <- enrichGO( gene = common_genes, OrgDb = org.Hs.eg.db, keyType = "ENTREZID", ont = "BP", pvalueCutoff = 0.05, readable = TRUE )

color.params <- list(foldChange = foldChange) # Specify fold-change for coloring

p <- cnetplot( go_enrichment, showCategory = 10,
circular = TRUE,
colorEdge = TRUE,
color.params = color.params,
cex.params = cex.params
)

sessionInfo( )

```

cnetplot DESeq2 • 31 views
ADD COMMENT

Login before adding your answer.

Traffic: 536 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6