Skip to content
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

Add option to return additional timecourses, e.g. the PetCO2 fitted signal and the denoised signal #94

Open
CesarCaballeroGaudes opened this issue Oct 24, 2023 · 2 comments
Labels
Enhancement New feature or request

Comments

@CesarCaballeroGaudes
Copy link
Collaborator

Detailed Description

After fitting the regression model with the PetCO2 signal plus possible additional (nuisance) regressors, we might want to do extra steps with the signal fitted with the entire model, or the signal only corresponding to the PetCO2 changes, or the 'denoised' signal that is the signal corresponding to the PetCO2 changes plus all the signal sources that are not modelled (i.e. unexplained variance or residuals).

Context / Motivation

We could use these signals as inputs to additional analyses, for instance clustering, parcellation, etc. In particular, Moia et al., 2021 showed that the denoised signal is less affected by motion artefacts (DVARS shows less correlation with FD).

This option will give users a cleaner CVR-related signal to perform extra analyses.

Possible Implementation

This implementation would involve fitting the model back with the estimated coefficients for each part of the regression model, and subtract each component from the input data in order to generate the different signals. This is similar to 3dSynthesize in AFNI.

@CesarCaballeroGaudes CesarCaballeroGaudes added the Enhancement New feature or request label Oct 24, 2023
@smoia
Copy link
Owner

smoia commented Oct 24, 2023

That is a very nice enhancement @CesarCaballeroGaudes! Let's add it to the list of todos!

@smoia
Copy link
Owner

smoia commented Oct 24, 2023

This is equivalent to compute the (outer) product of the regressors by the beta maps, and eventually sum the timecourses together, right? Or is it something more fancy than that?
@afniHQ (sorry, dunno who to tag here)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants