Open wasimaftab opened 6 years ago
You have to look into enrichplot package. Since in this package, enrichplot::cnetplot is used (thus this function is completely imported from enrichplot package.
There, I see, that through colorEdge=
you can set the color of your edge.
There, I see that geom_edge()
is either geom_edge_arc()
or geom_edge_line()
from ggraph package. Which themselves use and pass ...
to layer()
- which takes color=
and size=
parameters. for thickness and color to layer()
.
as a temporary solution, you could overwrite the function definition.
Dear Guangchuang, How to increase cnetplot edge thickness and change edge colour to black? I am using ReactomePA_1.24.0 on R version 3.5.1 (2018-07-02) Thanks Sincerely, Wasim
Prerequisites
Describe you issue
Ask in right place
ReactomePA