Hello,
This is a quirk because of the way the pathways are filtered. WebGestaltR allows you to filter out sets using the minNum and maxNum parameters which filters out sets that contain too few or too many analytes in the set. More importantly, analyte sets with zero overlap with your analyte list are not shown in the report for single list analysis.
What I am guessing is happening is that Lysine Degradation Pathway has zero overlap with List 2. This means it is not shown in the report for List 2. However, we still use this p-Value in calculating the meta-p. The List 2’s p value would be 1 since there is zero overlap, and when you use stouffer’s method with List 1’s p value of 0.11 and List 2's value of 1, you get a meta-p value of 1.
Another similar case is where List 1 is a different analyte type from List 2, and the pathway database you enrich against has a pathway for the genes but that pathway is not annotated for metabolites. Metabolites typically have fewer pathways annotated, so this is fairly common. In this scenario only the p-value from List 1 would be used for the meta-p since there is no information about List 2. As you saw, the size of the Lysine Degradation Pathway is larger in the meta-analysis page than in the individual page, so this indicates this pathway has metabolites and genes/proteins annotated.
As you note, this process can be confusing and sometimes opaque. We hide the pathway in List 2’s individual result because there is no overlap, but it still is important to show in the meta-analysis page, as List 1 has some overlap. We use List 2’s p-Value because it highlights how List 1 is enriched for this pathway, but this is not agreed upon by all of the lists/omic types.
I think we can improve the way the multi-list results page displays the results. For example, we may not show the Lysine Degradation pathway in List 2’s individual results, but it would be helpful to have information about List 2’s p-Value in the meta-analysis page so you can see why the meta-p value is high or low. We are still working on improving the visualizations of the multi-list results page to address this. An example of the work in this area is a heat-map next to the bar chart, which shows the logP value of the pathway in each list, which allows you to see which lists have the pathway, and the individual significance levels. A quick demo of this can be seen here: https://codepen.io/iblacksand/full/mdgLvJE.
A small note that may just be an typo caused by auto-correct is Sigmethod = "top", should be sigMethod = "top".
Let me know if you have any questions, or suggestions about how to improve how we can improve the displays of results.
Best,
John
Let me know if you have any questions, or suggestions about how to improve the displays of results.