Git Product home page Git Product logo

Comments (4)

AviMaayan avatar AviMaayan commented on August 16, 2024 1

Will do. Thank you so much for the helpful feedback. It is much appreciated!

from enrichr_issues.

enryH avatar enryH commented on August 16, 2024

I have a question how to read the documentation of the odds ratio from the help page:

where: a are the overlapping genes, b are the genes in the annotated set - overlapping genes, c- are the genes in the input set - overlapping genes, and d- are the 20,000 genes (or total genes in the background) - genes in the annotated set - genes in the input set + overlapping genes

How should one read the pluses (+) and minus (-) in the text?

For example:

What is d?

  • 20,000 genes (or no. of background genes) minus genes in the annotated set minus genes in the input minus genes overlapping?
  • if that is true, then I would write minus and plus
  • and remove the d- minus after d.

If it is a mix of minus (-) in the mathematical sense and hyphens, it needs some clarifications:) It's a great tool and the documentation is in many parts already super great!

from enrichr_issues.

lachmann12 avatar lachmann12 commented on August 16, 2024

Hi,

the odds ratio is computed like so:

int totalBgGenes = 20000; // hardcoded
int gmtListSize = length of gene set from library
int numGenelist = length of gene set from user input
int a = numOverlap;
int b = gmtListSize - numOverlap;
int c = numGenelist - numOverlap;
int d = totalBgGenes - numGenelist - gmtListSize + numOverlap;
double oddsRatio = (1.0 * a * d) / Math.max(1.0 * b * c, 1);			

I hope this helps.

Best,
Alex

from enrichr_issues.

enryH avatar enryH commented on August 16, 2024

Yes thanks! That clarifies it. Will you update the help text accordingly? (I would opt for writing minus and plus as words to make it clear - and/or link the function on GitHub?)

from enrichr_issues.

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.