bzhanglab / WebGestaltR

R package for WebGestalt
https://bzhanglab.github.io/WebGestaltR/
34 stars 14 forks source link

One or two sided P value for ORA? #24

Closed Nana-Liu-genetics closed 1 year ago

Nana-Liu-genetics commented 1 year ago

The P values for ORA are calculated by the code: pValue=1-phyper(.data$overlap - 1, length(interestGene), length(referenceGene) - length(interestGene), .data$size, lower.tail=TRUE, log.p=FALSE) I want to confirm that the P values for ORA are one-sided. Looking forward to your reply.

yxngl commented 1 year ago

It is one-sided.