CMplot icon indicating copy to clipboard operation
CMplot copied to clipboard

Adding tags to significant points in multitrait / multitrack QQ plots

Open evatosco opened this issue 1 year ago • 2 comments

Hi! Thanks for this R package, I think it's precious and very useful.

I have been looking for a way to show SNP names or gene names of significant points (out of the diagonal line or considering a threshold in observed P-values, for example) in multitrait and multitrack QQ plots, just like the package can show gene names or SNP names in Manhattan plots. Unfortunately, I can't do it yet.

The "highlight" options do not cause an error when running the "CMplot qplot" function; it runs correctly, but no text is shown in the QQ plots. I guess the function just omits them when plotting something else than a Manhattan. They do affect the Manhattan plots correctly.

I was wondering if this option exists in the package, and I missed it, or if anyone knows a way to do it. I figured I could try to add the names manually, but I am not by far an R expert and I think that the resulting plots are not recognizable by other packages to manually add a text per point or something similar. If there's any way to do so, I would deeply appreciate some enlightening!

Thanks in advance! Best regards, Eva

evatosco avatar Jan 29 '24 14:01 evatosco

Hi, thank you for the feedback. Sorry that the highlight function for SNP names or gene names is now only available to traditional rectangular-Manhattan plot.

YinLiLin avatar Jan 31 '24 09:01 YinLiLin

Hi!

No problem! I needed confirmation that I did not miss it but instead, it does not exist for now. Are there any plans to include this option in the future?

Thanks!

evatosco avatar Feb 04 '24 11:02 evatosco