Documentation

This page indexes the documentation for the CANlab tools: reference docs in the CanlabCore repository, the runnable walkthroughs and tutorials on this site, and the Interactive fMRI overview. Reference docs are Markdown files rendered on GitHub; walkthroughs and tutorials are on this site.

Start here: Interactive fMRI analysis for the philosophy and object model, the Object methods index for the class-by-class reference, or the Quick-start walkthrough to install and run.

Object references

Per-class references — properties, methods grouped by category, and worked examples. See the Object methods index for the class hierarchy and overview.

ClassWhat it holds
fmri_dataThe workhorse image object; most analysis methods live here
image_vectorAbstract base; source of shared methods
statistic_imageStatistic maps (t / p / effect size) with thresholding
atlasAtlases / parcellations with labels and probability maps
fmri_surface_dataNew. CIFTI-style surface / grayordinate data
regionContiguous clusters / ROIs as a unit of analysis
fmridisplayFigure-handle container for layered brain montages
glm_mapNew. First- and second-level GLM / regression estimator
fmri_glm_design_matrixFirst-level GLM design matrix (onsets, basis set, X)
predictive_modelNew. Fitted multivariate prediction model and artifacts
canlab_datasetSubject × variable behavioral / clinical data
brainpathwayConnectivity / pathway model (single- & multi-subject)
fmri_timeseriesRaw timeseries container
fmri_mask_imageBinary mask (legacy)

Workflows

End-to-end recipes that chain several methods together. Each comes as a roadmap (choose the right approach) and a how-to (runnable code). See the Workflows overview.

WorkflowRoadmapHow-to
ROI / atlas data extractionroadmaphow-to
First-level fMRI GLM (glm_map)roadmaphow-to
Second-level group GLM (glm_map)roadmaphow-to
Surface & grayordinate datafmri_surface_datahow-to
Loading & using image setshow-to

Visualization

A multi-page guide to rendering images and results — montages, 3-D surfaces, colormaps, the interactive controller, and atlases/regions.

Concepts & reference

Long-form tutorials

Multi-part didactic tutorials with runnable code.

Walkthroughs & tutorials on this site

  • Walkthroughs — step-by-step, runnable analyses (installing tools, group stats, ROI analysis, prediction, mediation, meta-analysis, visualization).
  • fMRI tutorials — longer-form didactic tutorials using MATLAB live scripts.
  • Batch system — the second-level analysis batch-script system.
  • Interactive fMRI analysis — philosophy, object model, and a simple analysis flow.

Help and issues

  • In MATLAB, doc <class_name> (e.g. doc fmri_data) or methods <class_name> lists a class’s properties and methods.
  • Report bugs or documentation errors on the CanlabCore issues page.