YinLiLin / CMplot

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

filename too long in jpeg #88

Open SilvijaSilvija opened 1 year ago

SilvijaSilvija commented 1 year ago

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

YinLiLin commented 1 year ago

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.

SilvijaSilvija commented 1 year ago

Thank you so much for your help!!

YinLiLin commented 1 year ago

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.