ggpubr
ggpubr copied to clipboard
Follow up on Issue #70 - plot not showing gene name connecting to the data point
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
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()