SPM ANOVA in nipype



I’d like to run an ANOVA in SPM through nipype, but can’t find an example. Does anyone happen to have an example? Or could refer me to more detailed documentation?

It seems I should be using FactorialDesign, but I’m not sure:

  • whether I should already add the factor_info at the design level
  • if so how I relate the general factor_info to specific predictors
  • whether it’s ok to have additional predictors that aren’t entered in the anova
  • how to actually run FactorialDesign (e.g. at which stage of the pipeline, how it receives information about the contrasts, etc.)