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

mediation toolbox with DTI data - Error in statistic_image/threshold>alternate_cluster_extent_in_sig_field (line 425) stats_image_obj.sig(:, i) = new_sig; #29

Open
MClaraS opened this issue Mar 11, 2023 · 0 comments

Comments

@MClaraS
Copy link

MClaraS commented Mar 11, 2023

Hello everyone,

I am using the mediation toolbox for the first time and I am working with DTI data (using the FA maps as mediators).

[I am using matlab R2019a. My X variable is a column vector with participants ages and Y is a column vector with behavioral scores, while M is a set of FA maps - for each participant - as .nii files.]

  • When I run mediation_brain

(mediation_brain(x,y,imgs,'names',names,'mask', mask, 'noverbose', 'covnames', covs)

it seems to run with no problem, but when I try to open the M-Y_effect.img, X-M_effect.img or X-M-Y_effects.img the images are blank.

Also, after running publish_mediation_report the file doesn't show any tables and I get an error under 'Path a results table, uncorrected'. I am attaching the pdf of the mediation report with the error.
mediation report.pdf

Would you have any suggestion to why this is the case or how I can solve this?

Any help would be appreciated.

Best regards,
Clara

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

No branches or pull requests

1 participant