Question on number of genes used in GO analysis
1
0
Entering edit mode
Danté • 0
@13ba9fa8
Last seen 23 days ago
United States

I have recently noticed a small discrepancy in the number of genes when running EnrichGO: the resulting GeneRatio column has 65 as the denominator (eg. 3/65, 12/65, 7/65...), however, in the dataframe i fed into the enrichGO() function there was clearly 71 rows (genes)

heres my code:

enrichGO(gene = df$ENTREZID, 
                   OrgDb = org.Hs.eg.db, 
                   ont = "BP",
                   pAdjustMethod = "BH",
                   pvalueCutoff = 0.05,
                   readable = TRUE)

**this df right here already has the genes which doesn't have an ENTREZID removed.

Please let me know if there is an explanation, any help is greatly appreciated.

GO clusterProfiler • 267 views
ADD COMMENT
1
Entering edit mode
@james-w-macdonald-5106
Last seen 3 hours ago
United States

Not all NCBI IDs have a GO BP term associated.

0
Entering edit mode

Thanks, that makes a lot of sense!

ADD REPLY

Login before adding your answer.

Traffic: 549 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6