Skip to content
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

Meaning of compareClusterResults #752

Open
8 tasks
IrelCM opened this issue Jan 15, 2025 · 1 comment
Open
8 tasks

Meaning of compareClusterResults #752

IrelCM opened this issue Jan 15, 2025 · 1 comment

Comments

@IrelCM
Copy link

IrelCM commented Jan 15, 2025

Hello,
I would like to know if there is a description of an enrichResult object which is the result of the enricher(). I'm looking information to understand GeneRatio and BgRatio results. Because R Documentation only describe how to use the function but there is no explanation for the result.

Best regards.
Irelka

Prerequisites

  • Have you read Feedback and followed the guide?
    • make sure you are using the latest release version
    • read the documentation
    • google your quesion/issue

Describe your issue

  • Make a reproducible example (e.g. 1)
  • your code should contain comments to describe the problem (e.g. what you expected and what actually happened)

Ask in the right place

  • for bugs or feature requests, post here (github issue)
  • for questions, please post to Bioconductor or Biostars with the tag clusterProfiler
@guidohooiveld
Copy link

enricher performs a over-representation test. More info can be found here:
https://yulab-smu.top/biomedical-knowledge-mining-book/enrichment-overview.html#ora-algorithm

GeneRatio refers to In_category mentioned in the example, and BgRatio to not_in_category, respectively.

This expressed in the enricher code can be found here
https://github.com/YuLab-SMU/DOSE/blob/4bdf261db7e2d088ca588a564f1db5a85ba522b7/R/enricher_internal.R#L138-L145

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants