CMplot icon indicating copy to clipboard operation
CMplot copied to clipboard

circle legend

Open mverocai opened this issue 6 years ago • 1 comments

Hello Lilin, I recently started to use CMplot. It's a great package I'm trying to make a circular manhattan plot. I can't add legend name (traits) for each circle. If I write cir.legend=TRUE nothing happens My entire code is:

`colnames(cmplot3)` <- c("SNP name", "Chr", "Position", "Z49_17A", "Z49_17B", "Z49_17C")
CMplot(cmplot3, plot.type = "c",col=c("grey30","grey60"), dpi = 300, 
       threshold=c(1e-3), cir.legend = T,chr.den.col=c("darkgreen","yellow","red"), 
       signal.col=c("red"), cir.legend= ,chr.labels=paste("Chr",c(1:7)))

best,

Maximiliano

mverocai avatar Nov 04 '19 16:11 mverocai

Hi Maximiliano,

Thank you for using CMplot. I am sorry that it's not available to add legend names for traits in CMplot, I suggest to write some text notes under the figure.

regards, Lilin

YinLiLin avatar Nov 05 '19 00:11 YinLiLin