ggpubr icon indicating copy to clipboard operation
ggpubr copied to clipboard

Follow up on Issue #70 - plot not showing gene name connecting to the data point

Open sharvari14 opened this issue 2 years ago • 0 comments

Hi, Thank you for creating this tool. I am trying to generate MA plot to highlight a list of genes. However, the lines connecting the gene name and the data point are not being saved in the PDF. Can you please help. Thanks

test_MA_plot_3.pdf

pdf("test_MA_plot_3.pdf")
ggmaplot(diff_express, main = expression("Group 1" %->% "Group 2"),
          size = 0.4,label.rectangle = TRUE,
         font.legend = "bold",
         font.main = "bold",
         genenames = as.vector(diff_express$name),
         ggtheme = ggplot2::theme_minimal(),
         top = 0, label.select = c("BUB1", "CD83")
)
dev.off()

sharvari14 avatar Apr 02 '22 01:04 sharvari14