Questions about Pathway Analysis and MetaboAnalystR

Hello

I have several questions regarding pathway analysis:

  1. How exactly is the pathway impact score calculated? I’m looking for an equation to be specific.
  2. In the pathway analysis figure(scatter plot) if you click on the circle, it shows a network image juxtapose to it. Is there a way to download this network file and/or access using R?

Also regarding MetaboanalystR:
Is the functionality of MetaboanalystR 4.0 equivalent to Metaboanalyst 6.0?

Thank you