clusterProfiler
clusterProfiler copied to clipboard
When there's only one term ID in the dataframe passed as TERM2GENE in enricher
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
.
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.
Could someone explain me the output when there's only one term ID in TERM2GENE input?