Clarifications on p-values in enrichResult objects
2
1
Entering edit mode
enricoferrero ▴ 660
@enricoferrero-6037
Last seen 2.4 years ago
Switzerland

In clusterProfiler, enrichResult objects have three columns for p-values: pvalue, p.adjust and qvalue.

1. What is the difference between p.adjust and qvalue?

2. On what columns are the pvalueCutoff and qvalueCutoff filters performed?

3. if qvalueCutoff operates on column qvalue, why are rows with a NA q-value not removed?

Thanks!

clusterProfiler reactomepa dose • 4.1k views
ADD COMMENT
2
Entering edit mode
Guangchuang Yu ★ 1.2k
@guangchuang-yu-5419
Last seen 27 days ago
China/Guangzhou/Southern Medical Univer…

1. see https://stat.ethz.ch/R-manual/R-devel/library/stats/html/p.adjust.html and https://bioconductor.org/packages/release/bioc/html/qvalue.html

2. p.adjust and qvalue

3. Sometimes it may fail to calculate qvalue and then the column will be set to NA without filtering.

 

ADD COMMENT
0
Entering edit mode

Thanks! Are pvalueCutoff and qvalueCutoff combined with an AND or an OR? In other words, do both or either conditions need to be satisfied?

ADD REPLY
1
Entering edit mode

AND, both should be satisfied.

ADD REPLY
0
Entering edit mode
12133067 • 0
@2708eeb6
Last seen 17 months ago
China

Dear teacher Yu: I have a question. As you said, sometimes it may fail to calculate qvalue and then the column will be set to NA without filtering. However, why "enrichGO" sometimes fail to calculate qvalue? what should we do advoid this case happening? And why the column will be set to NA without filtering? If fail to calculate qvalue, why not "enrichGO" results just set to NULL.

ADD COMMENT

Login before adding your answer.

Traffic: 845 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