YinLiLin / CMplot

📊 Circular and Rectangular Manhattan Plot
499 stars 111 forks source link

Circular manhattan plot label trait name #91

Closed eightYao2 closed 1 year ago

eightYao2 commented 1 year ago

Hi YinLiLin and everyone:

I have plotted circular manhattan by using CMplot, and tried to lable trait name on the plot,I have adjusted arguement many times still can't work.If using data(pig60K) as example.

CMplot(pig60K,type="p",
       plot.type="c",
       r=0.4,
       cir.legend=TRUE,
       outward=FALSE, 
       file="jpg",
       dpi=300,file.output=TRUE,verbose=TRUE,width=15,height=15)

Nomatter I added trait.legend.ncol=3 , cir.legend=TRUE, it's anything I missing or made a mistake? Does anybody have any idea how could I achieve this? Thank you so much in advance.

YinLiLin commented 1 year ago

Hi, thank you for using CMplot.

In current version, it's not available to label trait names for circular Manhattan plot, i recommend providing some detailed explanations about that in the Figure notes.

Best, LL

eightYao2 commented 1 year ago

Thank you for the prompt reply.Could I confirm one thing is the order of traits is plotted from inside to outside?

YinLiLin commented 1 year ago

Yes, that is right.

eightYao2 commented 1 year ago

Thank you so much!Wish you have a nice day.