clusterProfiler
clusterProfiler copied to clipboard
Meaning of compareClusterResults
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
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