clusterProfiler icon indicating copy to clipboard operation
clusterProfiler copied to clipboard

When there's only one term ID in the dataframe passed as TERM2GENE in enricher

Open mansi-aggarwal-2504 opened this issue 1 year ago • 0 comments

Hello, I was trying to reproduce the example for custom annotated gene list given here. I downloaded the data from the given url in the example. I was able to get a similar result and I understand the GeneRatio and BgRatio. Screenshot 2024-01-11 at 8 12 56 pm

But my case has a single term ID - I pass a TF's target genes in column 2, and column 1 is my annotation “TF”, which is the same for all rows. Input is a list of genes. I wanted to check if the overlap between these two lists is significant.

I try to reproduce it with the example in the documentation.

But I don't understand GeneRatio and BgRatio now, which is what I was getting in my case as well. Screenshot 2024-01-12 at 1 10 13 pm

Could someone explain me the output when there's only one term ID in TERM2GENE input?

mansi-aggarwal-2504 avatar Jan 11 '24 09:01 mansi-aggarwal-2504