Open rb643 opened 3 years ago
Thanks for your feedback. Sorry that the highlight function is now not available for multi-traits plot, I will try to achieve it in the next version.
Hi! Dose this issue be solved?
@yeeus Sorry that it has not been achieved yet in current version of CMplot.
Is it possible to add annotation to a multitraits plot? I get the annotations of significant genes in the multi-tracks, but is there a way to also include them in a single figure (and maybe even have the text color of the annotation match the color of the trait)?
This is my current code for 3 traits: SNPs <- list( all$SNP[all$T1<1e-6], all$SNP[all$T2<1e-6], all$SNP[all$T3<1e-6] )
CMplot(all, plot.type="m",multracks=TRUE,threshold=c(1e-6,1e-4),threshold.lty=c(1,2), threshold.lwd=c(1,1), threshold.col=c("black","grey"), amplify=TRUE,bin.size=1e6, chr.den.col=c("darkgreen", "yellow", "red"), signal.col=NULL, highlight.col=NULL, signal.cex=1, file="jpg",memo="",dpi=300,file.output=TRUE,verbose=TRUE, highlight=SNPs, highlight.text=SNPs, highlight.text.cex=1.4)