Adjusting position of overlapping labels
2
1
Entering edit mode
4.3 years ago
farheen.f14 ▴ 10

Hi Kevin

I have been able to plot the data as a volcano plot. However, I have some data points which share the exact same adjusted p-value and a similar FC. And so the labels are probably getting overlapped and one label is obscuring the one closest to it. Please let me know if I can change the coordinates of the annotations/labels or is there a way to spread them out so all the labels are visible.

Cheers Farheen

Label alignment • 7.0k views
ADD COMMENT
0
Entering edit mode

Thanks for your help!

That worked for me.

ADD REPLY
0
Entering edit mode
4.3 years ago
Ram 44k

You should take a look at the EnhancedVolcano package created by Kevin Blighe . It has the functionality you're looking for, I think.

See this example image:

EnhancedVolcanoo

Here's Kevin's post on it: EnhancedVolcano: Publication-ready volcano plots with enhanced colouring and labeling

ADD COMMENT
0
Entering edit mode
4.2 years ago

Maybe a little late... If you use R/ggplot than the package you probably want is ggrepel. The functions geom_text_repel() and geom_label_repel() are basically a drop-in replacement for ggplot's geom_text, geom_label

ADD COMMENT

Login before adding your answer.

Traffic: 2590 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6