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

change color for cmplot #137

Open
asaki1986 opened this issue Feb 14, 2025 · 0 comments
Open

change color for cmplot #137

asaki1986 opened this issue Feb 14, 2025 · 0 comments

Comments

@asaki1986
Copy link

Hi all,

It is very helpful using CMplot to plot SNP effect, using script as follows,

CMplot(cattle50K, type="h",plot.type="m", band=0.5, LOG10=FALSE, ylab="SNP effect",ylim=c(-0.02,0.02), threshold.lty=2, threshold.lwd=1, threshold.col="red", amplify=FALSE,cex=0.6, chr.den.col=NULL, file="jpg",file.name="",dpi=300,file.output=TRUE,verbose=TRUE)

It will be great if anyone know how to change the script to display snp effect >0 as blue, while <0 as red.

Best,
Junfeng

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant