kevinblighe / EnhancedVolcano

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

Omit arrow (drawConnectors) #47

Closed kunstner closed 4 years ago

kunstner commented 4 years ago

Hi, is it possible to omit the arrow and draw just a line between the label and the actual data point? Best, Axel

kevinblighe commented 4 years ago

Hey Axel, the answer is 'no', unfortunately! Is it urgent? - I can implement a fix and have it available in the development version before next Monday, if required.

kunstner commented 4 years ago

Hi @kevinblighe, thanks for your quick reply. It's not very urgent, just a nice to have. If you could provide a fix in the development version it would be very nice. Best, Axel

kevinblighe commented 4 years ago

Hey @kunstner , this has now been implemented. You'll have to install the GitHub version for now; otherwise, in a few days, it will be on the Bioconductor Devel branch (and official branch when the next version of Bioconductor is released).

An example here: https://github.com/kevinblighe/EnhancedVolcano#over-ride-colouring-scheme-with-custom-key-value-pairs

The parameter to use is arrowheads.

I also added other new functionality, as emphasised here: https://github.com/kevinblighe/EnhancedVolcano#encircle--highlight-certain-variables