-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DC61] Pipeline reproduction (SPM - deriv) #157
Comments
@mgaubert: I am adding you as assignee on this issue just for the time of the hackathon so that we can more easily see which pipelines are awaiting contributors in https://github.com/orgs/Inria-Empenn/projects/1/views/1 |
Hi @cmaumet, Here is a quick question about this analysis. In the
Does this mean that we design a one sample t-test with two covariates, one for the equalRange, another for the equalIndifference group ? And we pass subject-level contrasts files from both groups as input ? |
@bclenet: I confirm that I think you have the right answer to this! |
Hi @cmaumet, Later in the description (also in the
I assume they actually used F-contrasts here (probably not a typo), but could you please let me know how their setup in SPM is different from the one of a t-contrast ? |
We looked at the collection on NV: https://neurovault.org/collections/4963/ and we confirmed that gain was a T-contrast and loss an F-contrast. |
There is currently an issue with group level analysis (contrast definition ?)
|
@bclenet in this instance it may help to look at the design matrix (to see how many regressors and what name they have) in order to understand why the contrat is "invalid". |
Thanks, I just commented this issue to keep track of the current development status. |
Softwares
Software: SPM
Input data
derivatives (fMRIprep)
Additional context
see description below
List of tasks
Please tick the boxes below once the corresponding task is finished. 👍
status: ready for dev
label to it.team_{team_id}.py
inside thenarps_open/pipelines/
directory. You can use a file insidenarps_open/pipelines/templates
as a template if needed.tests/pipelines/test_team_*
as examples.NARPS team description : DC61
General
teamID
: DC61NV_collection_link
: https://neurovault.org/collections/4963/results_comments
: NApreregistered
: Yeslink_preregistration_form
: https://osf.io/dq9eg/(currently private, will be made public once we receive confirmation
from the NARPS team that our results can be made public).
Note: We focused on the part of the preregistered analysis that used SPM, as we did not
have sufficient time to also run analyses in FSL and AFNI.
regions_definition
: We used the Harvard/Oxford atlases available in FSL:HarvardOxford-cort-maxprob-thr0-2mm.
HarvardOxford-sub-maxprob-thr0-2mm.
softwares
: SPM12 (7219) for all the neuroimaging analysis (smoothing + statistical analysis). ;For preprocessing we used the fmriprep data provided.
To decide on exclusion based on motion, we used a jupyter notebook (jupyter-core 4.4.0)
with Python 3.6.7, matplotlib 3.0.3, pandas 0.24.1, and nilearn 0.5.0, nibabel 2.3.3.
To make our final conclusions for the 9 hypothesis, we used a Jupyter notebook (same
version) with additional package: numpy 1.16.2 and visually inspected the detections using
mricron version ‘2MAY2016’.
general_comments
: We believe that the template’s itemisation of FDR methods is poorly aligned with theusage in SPM and other packages. While the template offered:
False Discovery Rate.
Benjamini & Hochberg FDR (typical).
Positive FDR.
Local FDR.
Cluster-level FDR.
In SPM the default is Benjamini & Hochberg FDR on peaks; to our knowledge positive
FDR is not used much in imaging, though local FDR is implemented in some FSL ICA
methods.
We would recommend:
False Discovery Rate
Voxel-wise Benjamini & Hochberg (BH) FDR (typical outside SPM)
Peak-wise BH FDR (default in SPM)
Cluster-level BH FDR (only available in SPM)
Local FDR (note method used to model null and alternative distributions)
Positive FDR (note method used to estimate proportion of null hypotheses)
Exclusions
n_participants
: 105exclusions_details
: First, one member of the team visually inspected each run (108 subjects x 4 runs) andchecked the following points for any problematic issue: Registration to template, Brainmask,
Anatomical-functional registration, Signal dropout in the prefrontal cortex in the functional
image. No issues were identified at this stage.
Second, we excluded all runs that presented a framewise displacement greater than 2mm
(i.e. 1 voxel), this led to the exclusion of: sub013_run-04; sub-016_run-01 run-03 and
run-04; sub-018 (all runs); sub-022_run-02; sub-026_run-01 and run-04; sub-030 (all runs);
sub-036_run-02; sub-037_run-03; sub-068_run-02; sub-088_run-02, run-03 and run-04;
sub-089_run-03; sub-093_run-04; sub-100_run-02 and run-04; sub-106_run-03 and run-04;
sub-110_run-01, run-03 and run-04; sub-116 (all runs); sub-120_run-02.
Preprocessing
used_fmriprep_data
: Yespreprocessing_order
: N/A (we used fmriprep)brain_extraction
: N/A (we used fmriprep)segmentation
: N/A (we used fmriprep)slice_time_correction
: N/A (we used fmriprep)motion_correction
: N/A (we used fmriprep)motion
:gradient_distortion_correction
: N/A (we used fmriprep)intra_subject_coreg
: N/A (we used fmriprep)distortion_correction
: N/A (we used fmriprep)inter_subject_reg
: N/A (we used fmriprep)intensity_correction
: N/A (we used fmriprep)intensity_normalization
: N/A (we used fmriprep)noise_removal
: N/A (we used fmriprep)volume_censoring
: No volume censoring.spatial_smoothing
: We performed spatial smoothing using SPM12 (7219) with a Gaussian kernel with afull-width-at-half-maximum of 5mm. Smoothing was done in the MNI space (i.e. on the
_bold_space-MNI152NLin2009cAsym_preproc.nii.gz files provided by fmriprep).
preprocessing_comments
: NAAnalysis
data_submitted_to_model
: We submitted the smoothed functional images for each non-excluded {subject, run} pair tothe statistical modelling (cf. list of excluded runs above).
spatial_region_modeled
: We performed a full brain analysis and used implicit masking available in SPM to define theanalysis masks.
independent_vars_first_level
: Independent variables at the first level. Predictors we defined as follows (all variables in double quote come from corresponding events.tsv in BIDS):HRF basis: SPM default, canonical only.
Drift modelling: SPM default
Motion regressors
No orthogonalisation. In our preregistration we had indicated that we would orthogonalise:
‘gain_param’ with respect to ‘gamble’, ‘loss_param’ with respect to ‘gamble’ and
‘RT_param’ with respect to ‘gamble’. To the best of our knowledge, it is not possible within
the SPM batch system to specify our target orthogonalisation. We therefore disabled SPM's
orthogonalisation. We believe that the results would have been the same if we had manage
to orthogonalise ‘gain_param’ with respect to ‘gamble’, ‘loss_param’ with respect to
‘gamble’ and ‘RT_param’ with respect to ‘gamble’ as those orthogonalizations do not affect
our effects of interest, i.e. the gain effect as variation about the mean response, controlling
for loss and response time effects, and likewise the loss effect controlling for gain and
response time.
RT_modeling
: pmmovement_modeling
: 1independent_vars_higher_level
: Separately for the gain and loss conditions, we entered the corresponding subject-level contrast maps (‘gain_param’ and ‘loss_param’ respectively) into a group model with the following predictors:No covariates, no other between subject effects. No repeated measures.
model_type
: Mass univariate.model_settings
: First-level: Fixed effects, differences in run-specific variance accounted for with a globalfactor. Drift model: discrete cosine basis with cut off of 128 seconds (SPM default).
Autocorrelation: Approximate AR(1), run-specific, globally pooled (SPM default).
Second-level: Ordinary least squares with group-specific variance accounted for with a global
factor. No repeated measures.
inference_contrast_effect
: First level contrasts:For subjects for which runs were excluded the weighted sum was computed only over
the included runs and the weight of 0.25 was replaced by 1/NUM_OF_RUNS where
NUM_OF_RUNS is the number of runs that were kept for that subject.
Second level contrasts for the gain analysis :
Second level contrasts for the loss analysis :
search_region
: Whole brain.statistic_type
: Voxelwise statistic.pval_computation
: Standard parametric inference.multiple_testing_correction
: Voxelwise BH FDR-corrected p<0.05 voxelwise (SPM defaults updated with stats.topoFDR= 0). To implement a two-sided test for the loss_param_indiff po and loss_param_range,
inference was conducted on F-tests which were then split into positive effects
(hypothesis 7 and 8) and negative effects (hypothesis 5 and 6).
comments_analysis
: Our first, desired approach to this analysis was a clinical-trials, ROI-only primaryoutcome, producing a scalar statistic for each hypothesis. As the instructions were
quite clear that a whole-brain thresholded map was required, we gave up on this
approach.
Categorized for analysis
region_definition_vmpfc
: atlas HOAregion_definition_striatum
: atlas HOAregion_definition_amygdala
: atlas HOAanalysis_SW
: SPManalysis_SW_with_version
: SPM12smoothing_coef
: 5testing
: parametrictesting_thresh
:correction_method
: FDR voxelwisecorrection_thresh_
: p<0.05Derived
n_participants
: 105excluded_participants
: 018, 030, 116func_fwhm
: 5con_fwhm
:Comments
excluded_from_narps_analysis
: Noexclusion_comment
: N/Areproducibility
: 3reproducibility_comment
:The text was updated successfully, but these errors were encountered: