kevinblighe / EnhancedVolcano

Publication-ready volcano plots with enhanced colouring and labeling
397 stars 81 forks source link

Added box.padding argument to allow connector length to be increased easily; matchLabelColorsToSig argument to color text labels by significance #126

Open benjibromberg opened 7 months ago

benjibromberg commented 7 months ago

This pull adds the box.padding argument from ggrepel::geom_text_repel() (link to the documentation here) to the EnhancedVolcano function to allow convenient manipulation of the connector length by changing the padding of the text labels.

Notes

benjibromberg commented 7 months ago

I added a new argument to EnhancedVolcano() called matchLabelColorsToSig that is a logical (set to FALSE by default) that indicates whether or not a user wants to match the color of the text of the labels to the corresponding significance level of the point being labeled.