-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
baseMean in ggmaplot is not real A #198
Comments
ok, thanks. the |
The real A in MA plot is the mean of two log-scale values (log first, then mean), instead of log scale of the mean of two values (mean first, then log). However, if I am not mistaken, |
thank you @QiangShiPKU for the clarification, I can see now the problem. Let's keep this issue open |
The design of this function was influenced by the DESeq2 pipeline (https://www.bioconductor.org/packages/devel/workflows/vignettes/rnaseqGene/inst/doc/rnaseqGene.html#ma-plot), were log2 fold change is plotted against the basemean in log scale.. Obviously, I think that an option should be available in |
Great |
I think that we should allow two possible formats for the input data: 1/ Here, we'll use log2(baseMean) as the x-axis variable (like in the current version of the function) 2/ here, baseMeanLog2 is assumed to be the mean of logged values; so we'll use it as x-axis variable without any transformation |
That's a good idea |
fixed now, thanks |
Hi, I noticed that the baseMean is
(R+G)/2
(thuslog2( (R+G)/2 )
rather than real A belowshttps://en.wikipedia.org/wiki/MA_plot
The text was updated successfully, but these errors were encountered: