boxiangliu / locuscomparer

LocusCompareR is a R package with visualization tools for comparing two genetic association datasets.
105 stars 18 forks source link

Problems with plotting extreme small P-values #22

Open ccyril1995 opened 2 years ago

ccyril1995 commented 2 years ago

P-values exceeded R's folate limit would automatically be transformed to 0, resulting an infinite value of -log10 (P), and the figure would be very weird. I suggest reading in the P-value columns as character first, and then to transform it to -log10 value. (split the P-value by the number before and after e)