CMplot icon indicating copy to clipboard operation
CMplot copied to clipboard

Axis wrongly adjusted

Open jgarces02 opened this issue 7 years ago • 1 comments

Hi @YinLiLin,

I found your package very useful, thanks! In my case I'm plotting allele frequency not the p-value but I guess it's also possible... but I'm having an issue I cannot understand (and fix): y-axis repeats its values along it. image This is the code I'm using:

CMplot(df2,plot.type = "c", cir.legend=TRUE, outward=FALSE,cir.legend.col="black",cir.chr.h=0.5,
       chr.den.col="black", cex = 0.3, file.output = F, LOG10 = F)

With the following data:

      GENE X.CHR COORDINATE MM62_MO.VARIANT.FREQUENCY X_P_VARIANT_FREQUENCY PB_VARIANT_FREQUENCY
1    SEPN1     1   26140634                0.41304348             0.5581400            0.2500000
2    SEPN1     1   26142474                0.00000000             0.0839695            0.0680473
3    EXTL1     1   26362852                0.00000000             0.1578950            0.1428570
4    HMGN2     1   26801731                0.06666667             0.0000000            0.0000000
5   ARID1A     1   27107950                0.10638298             0.0597015            0.0517241
6 C1orf172     1   27278045                0.00000000             0.0000000            0.0588235

Any suggestion, please? Thanks in advance!

jgarces02 avatar Nov 08 '18 10:11 jgarces02

Hi,

Thanks for you using of CMplot!

I am also unfamiliar with your bugs, and i am sorry for that, could you mind sending your data to my email ([email protected]), i will debug CMplot to meet your case.

Best regards

Lilin

YinLiLin avatar Nov 09 '18 05:11 YinLiLin