Git Product home page Git Product logo

Comments (2)

guidohooiveld avatar guidohooiveld commented on June 3, 2024

This is because in the dotplot only significant gene sets are plotted; and the significance in both your analyses are based on the value of p.adjust.

In your first code chunk, in which you called the gseKEGG function, you did NOT specify the argument pAdjustMethod, only pvalueCutoff = 0.05. Since by default pAdjustMethod = "BH", significance is thus based on Benjamini-Hochberg adjusted p-values (i.e. column p.adjust), and thus not the 'raw' p-values (column pvalue). Note that the qvalue is another, related metric!

As you can see, in your enrichKEGG result there is only 1 gene set that has a value of p.adjust that is smaller than 0.05! Namely: 0.007217305.

The same applies to your enrichGO analysis; you set indeed the argument pAdjustMethod = "BH", and as cutoff value pvalueCutoff = 0.05. Only 1 gene set has p.adjust <0.05, namely 0.04818641.

So: either set the argument pAdjustMethod to "none", or increase the value of the argument pvalueCutoff.

From ?enrichKEGG: pAdjustMethod -- one of "holm", "hochberg", "hommel", "bonferroni", "BH", "BY", "fdr", "none".

from enrichplot.

lbwfff avatar lbwfff commented on June 3, 2024

Ok I see, I had previously thought that dotplot was only relevant to kk.negative@result results, thank you!

from enrichplot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.