clusterProfiler icon indicating copy to clipboard operation
clusterProfiler copied to clipboard

What is the meaning of geneRatio for dotplot of KEGG GSEA enrichment result

Open liuxianghui opened this issue 4 years ago • 3 comments

Just a simple question, when we use dotplot to look at the enrichment results, x axis is Gene Ratio.
for enrichKEGG result, I can understand, there are GeneRatio and BgRatio columns there. However, when you look at the gseKEGG results ( GSEA), how are Gene Ratio calculated? I noticed that in the results, there is no such column of Gene Ratio... but the dotplot did use a value to plot... Please kindly suggest,

liuxianghui avatar Aug 31 '21 03:08 liuxianghui

The geneRatio in gseKEGG results is calculated by dotplot. The calculation method is : (count of core enrichment genes) / (count of pathway genes) .

huerqiang avatar Aug 31 '21 14:08 huerqiang

Thank you.

liuxianghui avatar Sep 01 '21 05:09 liuxianghui

I have one more question. I am curious to know that since dotplot can be used to plot gseKEGG results. Why in compareclusters, this function gseKEGG is not added to the four functions available. Now we can only do compareclusters for multiple over representation analysis results, why can apply to GSEA results?

liuxianghui avatar Sep 02 '21 03:09 liuxianghui