CMplot icon indicating copy to clipboard operation
CMplot copied to clipboard

filename too long in jpeg

Open SilvijaSilvija opened this issue 2 years ago • 3 comments

Hello!

I trying to create a Manhattan plot with mutliple traits in one figure, using your code for Multi_tracks Rectangular-Manhattan plot. The problem is that I have around 600 traits that need o be plotted, and the code names the file after all the traits, which results in the file name being too long to be created. I can not find any way to circumvent this pre-programmed file-naming function. Does anybody have any idea how I can fix this issue?

Thank you so much in advance

SilvijaSilvija avatar Apr 11 '23 11:04 SilvijaSilvija

Thanks for the feedback, this issue had been reported a month ago, i haven't fixed it due to some busy stuff. I will add a new parameter to enable users to set the name of output file, and this new version will be updated in the coming days.

YinLiLin avatar Apr 12 '23 02:04 YinLiLin

Thank you so much for your help!!

SilvijaSilvija avatar Apr 12 '23 08:04 SilvijaSilvija

Hi, the script on GitHub has been upgrade to enable users to define the names of output file (e.g., CMplot(..., file.name="xxx")), please source the online version in R and have a try. This new feature will be submitted to CRAN and available to public in the coming days.

YinLiLin avatar Apr 21 '23 08:04 YinLiLin