Closed sinarueeger closed 5 years ago
expected_log10
So this is gonna be more complicated, because I am working on a stat_
and not a geom
.
Here are the links to the original hex geom and stat in ggplot2:
Some decisions
stat_gwas_qq_hex
as a stat. But changing to a geom could be an idea. y
as the required aes. geom_gwas_qq
the x-label is now expected
, and the y-label whatever was passed on to the y
aes. However, the very best would be, if the transformation would be wrapped around those label. Meaning, the-log10
transformation is applied to y=P
, then the y-label reads -log10(P)
.
Now:
stat_gwas_qq_hex(aes(y = P))
Later:stat_gwas_qq_hex(aes(observed = P))