Gene Labels (ggplot2)
Hello,
I'm new to R and I've been trying to label genes on a scatterplot using ggplot2. I've been using geom_text_repel to label the genes. How can I make the gene labels look nicer?
geom_text_repel(data = normalized_all_counts.ATG9,
aes(x=avg_rep1,
y=avg_rep2,
label = gene), color = 'red',
max.overlaps = Inf
• 2,373 views
•
link
0 answers
No answers yet.
Log in to answer this question.
While this is not a bioinformatics question.
You need to zoom into the region close to origin otherwise the differences will not be clear, and putting gene names will not help you much either. You may also try log-transforming the axes