-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to create effect size comparison plot without heterogeneity #112
Comments
Hi,
I am wondering which gwaslab version you are using? In recent versions, this has been fixed.
For this, I haven't added this to the effect size comparison plot yet. I will implement this in the new version and let you know (probably by the start of next week). |
Hi Cloufield, kwargs = { |
Hi,
Additionally, you can pass a SNPID: |
Thanks, I will check it out in the next few days. I will let you know if
the issue persists.
…On Tue, 29 Oct 2024 at 10:08, Yunye He ***@***.***> wrote:
Hi,
sorry for my late reply.
I update gwaslab to v3.5.0. It now support annotation with GENENAME.
I tested with your setting and should work now.
kwargs = {
"label": ["label1", "label2", "Both", "None"],
"xylabel_prefix": "Per-allele effect size for ",
"sig_level": 5e-8,
"anno": "GENENAME",
"build":"19",
"save": True,
"save_args": {"dpi": 300, "facecolor": "white"}
}
image.png (view on web)
<https://github.com/user-attachments/assets/f84cff06-9c4a-46a4-a95b-6ae58e529114>
Additionally, you can pass a SNPID:text dictionary for customized
annotation like "anno": {"rs11642015":"Some customized annotation"},
image.png (view on web)
<https://github.com/user-attachments/assets/1018dce0-1d58-474d-8725-95301e4a1059>
—
Reply to this email directly, view it on GitHub
<#112 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD5PROMSYGP2MXKP4EGXXW3Z55GBNAVCNFSM6AAAAABQRWSSBGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBTGY2DCNZUHA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hi, However, it wasn't successful with anno="GENENAMES". I am getting no annotations using the command. I then tried to include build="19", i get an error: TypeError: compare_effect() got an unexpected keyword argument 'build'. Prepare kwargs for the comparison
I am also struggling with another issue of overlapping annotations, as two SNP names are completely overlapping. Is there a function like jitter in ggplot in your package? Thanks |
Hi,
|
I am unable to create effect size comparison plot without the need for conducting heteogeneity test and selective annotating/filtering.
Prepare kwargs for the comparison
If I remove is_q_mc, I end up with error asking me to include it with bon or fdr option.
Also, I could not figure out how to include gene names instead of SNP ids. It seems the option is missing. It would rather require changing the SNPids directly to gene names.
The text was updated successfully, but these errors were encountered: