User guide#
Note
You can download the user guide and examples for offline viewing.
This user guide is especially directed towards grad students with a background in computer science, machine learning, computational biology or neuroscience. However, less or more advanced readers can also find interesting pieces of information throughout the guide.
Table of contents#
- 1. Introduction
- 2. Decoding and MVPA: predicting from brain images
- 2.1. An introduction to decoding
- 2.2. Choosing the right predictive model for neuroimaging
- 2.3. FREM: fast ensembling of regularized models for robust decoding
- 2.4. SpaceNet: decoding with spatial structure for better maps
- 2.5. Searchlight : finding voxels containing information
- 2.6. Running scikit-learn functions for more control on the analysis
- 3. Functional connectivity and resting state
- 3.1. Extracting times series to build a functional connectome
- 3.2. Connectome extraction: inverse covariance for direct connections
- 3.3. Extracting functional brain networks: ICA and related
- 3.4. Region Extraction for better brain parcellations
- 3.4.1. Fetching movie-watching based functional datasets
- 3.4.2. Brain maps using Dictionary learning
- 3.4.3. Visualization of Dictionary learning maps
- 3.4.4. Region Extraction with Dictionary learning maps
- 3.4.5. Visualization of Region Extraction results
- 3.4.6. Computing functional connectivity matrices
- 3.4.7. Visualization of functional connectivity matrices
- 3.4.8. Validating results
- 3.5. Clustering to parcellate the brain in regions
- 4. Plotting brain images
- 4.1. Different plotting functions
- 4.2. Different display modes
- 4.3. Available Colormaps
- 4.4. Adding overlays, edges, contours, contour fillings, markers, scale bar
- 4.5. Displaying or saving to an image file
- 4.6. Surface plotting
- 4.7. Interactive plots
- 5. Analyzing fMRI using GLMs
- 6. Manipulation brain volumes with nilearn
- 6.1. Input and output: neuroimaging data representation
- 6.2. Manipulating images: resampling, smoothing, masking, ROIs…
- 6.3. From neuroimaging volumes to data matrices: the masker objects
- 6.3.1. The concept of “masker” objects
- 6.3.2.
NiftiMasker
: applying a mask to load time-series - 6.3.3. Extraction of signals from regions:
NiftiLabelsMasker
,NiftiMapsMasker
- 6.3.4. Extraction of signals from regions for multiple subjects:
MultiNiftiMasker
,MultiNiftiLabelsMasker
,MultiNiftiMapsMasker
- 6.3.5. Extraction of signals from seeds:
NiftiSpheresMasker
- 7. Advanced usage: manual pipelines and scaling up