CMplot
CMplot copied to clipboard
How can I exponentially scale the Y axis
Thanks for the great package! Are there any tricks to exponentially scale the Y axis of Manhaton plot? I have some points with real high y values. With the default settings, points with relatively low y values can hardly seen in the plot. Thanks.
Thanks for your question.
There is no related parameter in CMplot to change the transformation scale for p-values, only one option "LOG10" is available. But I suggest to transform your p-values at the scale you want prior to plotting, then use the transformed outcome to run CMplot with setting LOG10=FALSE
, and simultaneously change the labels of y-axis by parameter ylab
.
Thanks so much for your quick reply! This should work for the plot. Do you have a parameter for customizing axis ticks labels? Thanks.
X-axis ticks can be changed by parameter "chr.lables", and the y-axis ticks are generated from R, so I don't include additional parameter in current version. Thanks.
Thanks.