Repository navigation
Add external regressor and task analysis pages - #101
Merged
Merged
Conversation
Add two pages that use the localizerDetection run of DIVA (ds002278) sub-Blossom: - 09_External_Regressors: build physiological (RETROICOR, RV, HR), ROI (ventricles, M1, A1, V1 warped from MNI with nitransforms), motion and task regressors, and use them in a tedana decision tree. The baseline is the same tree without the external-regressor nodes, on a shared ICA. - 10_Task_Analysis: fit the same GLM to echo 2, the optimal combination, the optimal combination with rejected components in the design, and the denoised data. Also add load_diva() to book_utils, the DIVA download instructions, the new references and the table of contents entries.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #94. Closes #71.
Changes
Two new executed pages, both using the
localizerDetectionrun of DIVA (ds002278),sub-Blossom,ses-02:09_External_Regressors.md(Add examples of external regressors for tedana decision trees #94) builds each of the four kinds of external regressors from the issue and uses them in atedanadecision tree.nitransformsand the fMRIPrep transforms, then averaged over the optimally combined data.motor/auditoryblock counts toward both.tedana's demo external-regressor tree, with an added physio partial model. The baseline is the same tree with the external-regressor nodes removed, and both runs share one ICA, so any difference comes from the external regressors alone. Comparing againstminimalinstead flipped components for unrelated reasons.10_Task_Analysis.md(Incorporate task analysis #71) fits the same GLM to four versions of the data: echo 2, the optimal combination, the optimal combination with the rejected components in the design, and thetedana-denoised data.motor - visualandvisual - motorcontrasts, because every block is one or the other.book_utils.load_diva(), the DIVA section of00_Download_Data.md, three references and the TOC entries.Notes for reviewers
tedanaoutputs.--me-output-echos. For now,00_Download_Data.mdtells readers to run fMRIPrep onsub-Blossomthemselves.StartTimehas the wrong sign. The sidecar says +9.0 s, but the trigger channel is high for exactly 300 × 1.5 s, starting 9.065 s into the recording. The page derives the offset from the trigger.sub-Blossom:sub-Bubbleshad a weak V1 response, andsub-Buttercup's ECG is swamped by the gradient artifact.MNI152NLin6Asym, while the fMRIPrep transform is fromMNI152NLin2009cAsym. The page notes this mismatch.make publish-cache, which I have not done yet.Testing
make bookbuilds with no warnings.make check-cachereports 22 of 22 notebooks cached.🤖 Generated with Claude Code