YinLiLin / CMplot

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

how this package to calculate -log10(Pvalue)? #50

Open yuanlizhanshi opened 3 years ago

yuanlizhanshi commented 3 years ago

My raw data's pvalue is range 0.6 to 52, when i set LOG10 =T, the -log10(Pvalue) was range 0 to 30+, i am confused how this package calculated the -log10(Pvalue)...

YinLiLin commented 2 years ago

Please refer to here https://github.com/YinLiLin/CMplot/blob/d253dbf6b39e1083b9130356f4086f796220c71e/R/CMplot.r#L809.