Hi,
I wanted to check if the -log10(P) values included in the focus plot are on the log10 or natural log scale.
I did some conversions of the Z-scores and noticed that it did not match up when I recalculated it in R.
For example, for a Z-score value of 4.5800, the FOCUS outputted -log10(P) in the plot was 12.27869 .
When I calculated in R (see below), I got a different value. Can you please help clarify? Did I miss something that resulted in my calculations being incorrect?
Thanks,
Ruth
> Z = 4.5800
> P = 2*pnorm(abs(Z), lower.tail = FALSE) # convert Z-score to P-values
> P
[1] 4.649759e-06
> -log10(P). # convert P-values to -log10(P)
[1] 5.33257
Hi,
I wanted to check if the
-log10(P)values included in the focus plot are on the log10 or natural log scale.I did some conversions of the Z-scores and noticed that it did not match up when I recalculated it in R.
For example, for a Z-score value of
4.5800, the FOCUS outputted -log10(P) in the plot was12.27869.When I calculated in R (see below), I got a different value. Can you please help clarify? Did I miss something that resulted in my calculations being incorrect?
Thanks,
Ruth