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

ClusterGVis 中的enrichCluster函数返回的geneRatio问题 #80

Open
fxxx92 opened this issue Jul 25, 2024 · 1 comment
Open

ClusterGVis 中的enrichCluster函数返回的geneRatio问题 #80

fxxx92 opened this issue Jul 25, 2024 · 1 comment

Comments

@fxxx92
Copy link

fxxx92 commented Jul 25, 2024

首先非常非常感谢博主的贡献!!!

在使用ClusterGVis中的enrichCluster函数时,返回了一列数据为ratio,但其数值为大于1的数值,如下图:
2181721880645_ pic_hd
然而在以前用enrichGO返回的数据中,仅包括GeneRatio与BgRatio两列,且均为分数形式,如下图:
2191721880646_ pic
在查阅文献时发现,除了这两个数据外还常用一个富集倍数(fold enrichment),其计算方法如下图,计算后多为大于1的数值:
截屏2024-07-25 12 13 56
综上所述,enrichCluster函数返回的ratio是否应为fold enrichment而非generatio呢?
另外再enrichGO函数中会同时设置pval与qval来获取GO结果,这导致我用enrichGO与enrichCluster函数返回的GO结果有一些不同,目前我是采用把enrichGO结果生成表格读取入R来进行画图,但ratio值的不匹配影响最后的图表呈现,因此想和博主探讨一下。

再次感谢您的分享!!!

@junjunlab
Copy link
Owner

enrichCluster返回结果中的ratio为generatio的100倍,意思就是一个百分比。

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