Skip to contents

plsrri is a modern R implementation of the McIntosh Lab PLS package for neuroimaging analysis. It supports task PLS, behavior PLS, and multiblock PLS with permutation testing, bootstrap confidence intervals, and split-half validation.

Choose a workflow

Interactive analysis

If you want to explore data, inspect scores and loadings, and attach to prepared first-level outputs through the UI, start with:

Scripted and reproducible analysis

If you want a clean non-GUI pipeline from saved first-level artifacts to PLS results and Quarto reports, start with:

Start by scaffolding a spec rather than writing YAML from scratch:

plscli template --out study.yml

The minimal scripted path is:

prep <- prepare_firstlevel("study.yml")
result <- run_pls(prep)
render_pls_report(prep$spec)

The matching staged CLI path is:

plscli validate --spec study.yml
plscli run --spec study.yml
plscli report --input study.yml --format html

That same contract is designed to work across:

  • ordinary R scripts
  • staged CLI and HPC runs
  • Shiny attachment to existing first-level outputs