Skip to content

change color for cmplot #137

Description

@asaki1986

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions