CMplot icon indicating copy to clipboard operation
CMplot copied to clipboard

How to exclude or move location of trait name in multitrack Manhattan

Open squirrelB opened this issue 3 years ago • 3 comments

Hi. Thank you for the excellent R package! Makes life so easy and very user friendly!

I had one question. When multracks=TRUE for plot.type="m", is there a way to move the trait name that shows up at the top right? Or exclude it altogether so I can add that later? As you can see, the label gets a little in the way of seeing the point.

Multracks-Manhattan Viewblocked Blue Black Lightgreen

squirrelB avatar Oct 10 '22 21:10 squirrelB

Sorry for the inconsiderate design, i am planning to add a new parameter to control the location of the trait name on the plot, and i will leave a message here once finished.

YinLiLin avatar Oct 11 '22 01:10 YinLiLin

Hi,

i have added two new parameters in CMplot function, the parameter "trait.legend.pos" can be used to control the location of trait name on the plot, three options "left", "middle", "right" are available; another new added parameter "trait.legend.cex" can be used to set the size of the text of trait name. Above upgrades have been submitted to GitHub, please source the online script and try again, and i also have submitted this version to CRAN, which will be released to public in the coming days. Thanks for your feedback.

Best, Lilin

YinLiLin avatar Oct 12 '22 09:10 YinLiLin

Thank you so much! This is lovely.

squirrelB avatar Oct 12 '22 15:10 squirrelB