Entering edit mode
7.9 years ago
Gemini_Qiu
•
0
Hi,
Recently,I want to do some pathway study, and found clusterProfiler updated, and used it.Now, I have some questions, appreciated if you do me a favor.
- I have 671 entrez id ,then annotated 278 according to "Count" column, I found that GeneRatio's denominator might be the input genes, which annotated with pathway. But the 278 (sum of numberator) and 288 (denominator) isn't equal, while I set the pvalueCutoff as 1.What is the exactly definition of GeneRatio's denominator? Am my understanding right?
- 671 input genes ,278 annotated? The other genes can't be annotated? Due to imcomplete gene discovery?
Thanks in advance!
Attached some codes:
my enrich code:
k<-enrichKEGG(gene=gene$V1,organism='osa',pvalueCutoff=1)
length(gene$V1)
#[1] 671
r<-summary(kk)
sum(r$Count)
#[1] 278
r$GeneRatio
# [1] "52/288" "13/288" "23/288" "21/288" "19/288" "35/288" "24/288" "14/288" "14/288" "12/288" "15/288"
#[12] "8/288" "5/288" "9/288" "7/288" "4/288" "3/288"
Online Test Code:
data(geneList, package="DOSE")
gene <- names(geneList)[abs(geneList) > 2]
tk<- enrichKEGG(gene= gene,organism= 'hsa',pvalueCutoff=1)
s<-summary(tk)
sum(s$Count)
#
#> sum(s$Count)
#[1] 56
#> s$GeneRatio
#[1] "11/84" "10/84" "7/84" "6/84" "5/84" "8/84" "9/84"