Skip to content
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

Manhattan-plot: MIAMI plotting, aka stratified plotting. #11

Open
swvanderlaan opened this issue Aug 7, 2018 · 1 comment
Open

Manhattan-plot: MIAMI plotting, aka stratified plotting. #11

swvanderlaan opened this issue Aug 7, 2018 · 1 comment
Assignees
Labels
bug-high High-priority, though not critical bug enhancement-high High-priority enhancement

Comments

@swvanderlaan
Copy link
Owner

Add in option to choose for a stratified Manhattan (bottom vs. upper for instance male vs. female), i.e. a MIAMI-plot. There is a specific package that has this function --> borrow it from there... 🔶

@swvanderlaan swvanderlaan added the enhancement-low Low-priority enhancement label Aug 7, 2018
@swvanderlaan swvanderlaan self-assigned this Aug 7, 2018
@swvanderlaan swvanderlaan added enhancement-medium Medium-priority enhancement and removed enhancement-low Low-priority enhancement labels Aug 7, 2018
@swvanderlaan swvanderlaan added bug-high High-priority, though not critical bug enhancement-high High-priority enhancement and removed enhancement-medium Medium-priority enhancement labels May 13, 2023
@xEmz
Copy link
Collaborator

xEmz commented May 15, 2023

#load required package
library(hudson)

#input
two files with 4 columns : SNP, CHR, POS, pvalue

#create miami plot
gmirror(top=female_hudson, bottom=male_hudson, tline=0.05/nrow(female_hudson), bline=0.05/nrow(male_hudson),
toptitle = "GWAS Comparison: Female samples", bottomtitle = "GWAS Comparison: Male samples",
highlight_p = c(0.05/nrow(female_hudson),0.05/nrow(male_hudson)), highlighter="dodgerblue")

@xEmz xEmz closed this as completed May 15, 2023
@xEmz xEmz reopened this May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-high High-priority, though not critical bug enhancement-high High-priority enhancement
Projects
None yet
Development

No branches or pull requests

2 participants