sulantha2006 / VoxelStats

A MATLAB package for multi-modal voxel-wise brain image analysis
Other
16 stars 9 forks source link

group comparisons resting state correcting by gray matter volume #13

Open mmandelli opened 1 year ago

mmandelli commented 1 year ago

Hi there, I am struggling a bit to understand how I can perform a group comparison on resting state functional data by correcting for gray matter volume. in my setUp I now have

multi_value_variables = {'A_nifti', 'B_nifti'}; [where A_nifti are the Z_coefficients and B_nifti the gray matter volume]

categorical_vars = {'Sex'}; % but I may not need this now dataColumn = 'A_nifti'; includeString = ''; % what should be this? groupColumnName = 'Group'; group1 = 'CTRL'; group2 = 'rATL';

[ c_struct ] = VoxelStatsT( imageType, data_file, dataColumn, groupColumnName, group1, group2, includeString, mask_file);

thanks so much!

sulantha2006 commented 1 year ago

Hi,

Can you confirm, A_nifti = 3D z-score maps? includeString = you can leave it as is. (This is used to subject your dataset based on a column you have in the CSV file if needed) Make sure the mask_file is of the same resolution for the A_nifiti and B_nifiti files.

Any other questions?

S

On Sun, Oct 22, 2023 at 1:58 PM Malu @.***> wrote:

Hi there, I am struggling a bit to understand how I can perform a group comparison on resting state functional data by correcting for gray matter volume. in my setUp I now have

multi_value_variables = {'A_nifti', 'B_nifti'}; [where A_nifti are the Z_coefficients and B_nifti the gray matter volume]

categorical_vars = {'Sex'}; % but I may not need this now dataColumn = 'A_nifti'; includeString = ''; % what should be this? groupColumnName = 'Group'; group1 = 'CTRL'; group2 = 'rATL';

[ c_struct ] = VoxelStatsT( imageType, data_file, dataColumn, groupColumnName, group1, group2, includeString, mask_file);

thanks so much!

— Reply to this email directly, view it on GitHub https://github.com/sulantha2006/VoxelStats/issues/13, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHZL55N5DHXA3U4GQ5EFMLYAWCIRAVCNFSM6AAAAAA6LEY57GVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE2TMMBVGM3TMNY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

mmandelli commented 1 year ago

hi!thanks for your answer

yes, A_nifti are 3D z-score maps, B_nifit are the corresponding grey matter volume yes everything is in the same space and resolution.

I am wondering where the correction for gray matter happens within the VOxelStatsT as I do not see these images loaded in the function! thanks!

sulantha2006 commented 1 year ago

Oh. Sorry. You should use LM for this use case.

T test doesn't allow for covariates.

On Mon, Oct 23, 2023, 12:47 p.m. Malu @.***> wrote:

hi!thanks for your answer

yes, A_nifti are 3D z-score maps, B_nifit are the corresponding grey matter volume yes everything is in the same space and resolution.

I am wondering where the correction for gray matter happens within the VOxelStatsT as I do not see these images loaded in the function! thanks!

— Reply to this email directly, view it on GitHub https://github.com/sulantha2006/VoxelStats/issues/13#issuecomment-1775912426, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHZL5Y3RMGSN32DWACFQJLYA3CWPAVCNFSM6AAAAAA6LEY57GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZVHEYTENBSGY . You are receiving this because you commented.Message ID: @.***>