clusterProfiler icon indicating copy to clipboard operation
clusterProfiler copied to clipboard

Customise the scatterpie legend with cnetplot function

Open billy-s-lab opened this issue 3 years ago • 0 comments

Hi, is there a way to customise the geom_scatterpie_legend using the cnetplot function? The scatterpie legend seems to be hard coded into the cnetplot function. I see that you can use arguments such as legend_n and x_loc/y_loc to change the number of elements in the legend and change the position of the legend, respectively. I would like to modify the scatterpie legend title which reads as "gene number" and does not appear to be customisable. I would like to change the scatterpie legend title and change its position from to the right of the scatterpie to above the scatterpie. Thank you.

billy-s-lab avatar Feb 26 '22 17:02 billy-s-lab