-
Notifications
You must be signed in to change notification settings - Fork 255
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
enrichKegg function, qvalueCutoff not working, getting as well non-significant results #710
Comments
What is the output from:
|
Hi guido, it is
|
Aha, that suggests the significance filtering indeed worked. Please be aware that:
This explains why the terms FDR, adjusted p-values and q-values are often used routinely (and interchangeably). Also note that the Benjamini–Hochberg procedure generates more conservative FDR values than those calculated by the q-value, and that Lastly, to extract all results from an enrichment analysis you should convert it as a data frame ( With this in mind:
To show this with some code:
NOTE: I am using the development version of See commit: YuLab-SMU/DOSE@98301d9
To obtain the results that are filtered on e.g. qvalue cutoff. you extract these through
|
Dear Guido, thanks a lot, this was really helpful! I tried with my data as well and it is working. Then, it is clear for me, why I am exporting enriched KEGG terms using write.csv with kk@result while DotPlots are not working. Since there are no significant terms and I am solely exporting unfiltered terms to csv. I guess, I should now export as.data.frame(kk) to a csv file. One thing related: You mentioned that @Result should not be used by the enduser, since it shows unfiltered results. However, for similar functions e.g. gseGO it is working and the@result output is already filtered based on the chosen cut off values. Best, |
Dear all,
I am using the enrichKegg function. An example
Using this code, I assumed that I should only get significant results based on q-value <0.05. However, it seems that the qvalueCutoff parameter is not working. I get results with a qvalue 0.2
Can I change this? I just wand to get significant results based on my q value threshold.
Best,
Nina
The text was updated successfully, but these errors were encountered: