-
Notifications
You must be signed in to change notification settings - Fork 13
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
How to obtain log-fold change values? #103
Comments
Hi Andrew, Thank you for using ggpicrust2 and for your question. You're correct that the After you run the p <- pathway_errorbar(metacyc_daa, ...)
log_fold_change_data <- p$data In the I hope this helps. Please let me know if you have any further questions. Best regards, |
Aha, that works. Thanks for the quick reply! However, if I try this with > 30 features, it fails with a message about having too many features and suboptimal visualization. I understand the point of that. But I am not trying to generate a visualization, I just want the data. Is there any way to extract all the data without having to limit features to 30? |
Well, I resolved this by filtering
As an aside, I noticed that the |
Hi,
Thanks for the great package. I have followed the example code to calculate metacyc pathway differences on the example data as below:
This works nicely. However,
metacyc_daa
contains p-values for all the features, but does not seem to contain any indication of the magnitude or direction of differences, such as log-fold-change values:This seems to be the case for all
daa_method
options. So, if I wanted to obtain the magnitude of all the pathway differences and add that to the results table, how can I do that? Do I have to calculate it myself, e.g. using dplyr, or is it hidden somewhere in ggpicrust2?Thanks.
The text was updated successfully, but these errors were encountered: