Is there a reason that you are not using mri_glmfit-sim to do this? It is fairly complicated, and so I spent a lot of time writing mri_glmfit-sim to make sure it does the right thing.
On 4/29/2021 6:16 PM, Leonardo Tozzi wrote:
External Email - Use Caution
Dear Experts,
I am running an analysis where I have -log10(p) values on the cortical surface of some subjects stored as a MGH file.
I would now like to run a cluster level correction on these data at the level of each individual subject using mri_mcsim followed by mri_surfcluster and I would like to constrain my inference to a ROI.
I have a few questions. First of all, is it correct that I should to a -log10(p) transform on my p values before entering them in mri_surfcluster?
Second, will the csd generated by mcsim be valid to feed in mri_surfcluster since the values are a -log10(p) transformed? Does mcsim -log transform the gaussian noise it uses at some point or is this not necessary?
My calls to the two methods are as follows (for one hemisphere):
First the mcsim:
mri_mcsim --o“${subject}_mcsim_lh_${roi}"--basemc-z --surface${subject}lh --nreps10000--label$roi
Then the mri_surfcluster:
mri_surfcluster --in "/${subject}_lh_${roi}_neglog10p_signed.mgh" \
--csd "${subject}_mcsim_lh_${roi}/fwhm05/abs/th30/mc-z.csd" \
--clabel "${subject}/label/lh.${roi}.label" \
--cwsig "${subject}_lh_${roi}_neglog10p_abs_clu05.mgh" \
--vwsig "${subject}_lh_${roi}_neglog10p_abs_vox05.mgh" \
--sum "${subject}_lh_${roi}_neglog10p_abs_summary.txt" \
--thmin 3 \
--surf white \
--subject ${subject } \
--hemi lh \
--ocn “${subject}_lh_${roi}_neglog10p_abs_clu05_clunum.mgh" \
--cwpvalthresh 0.05
In the call of mri_surfcluster, I want a cluster forming threshold of p=0.001, which would correspond to -logp(0.001)=3. Is it correct that the argument --thmin should be expressed as -log10(p) but the parameter cwpvalthresh should be p?
The reason why I think I did something wrong is that I get a lot of clusters from this analysis, sometimes >15 per individual. This makes me think that the correction might not be as stringent as I would like to.
Thank you,
Leonardo Tozzi, MD, PhD
Williams PanLab | Postdoctoral Researcher
Stanford University | 401 Quarry Rd
ltozzi@stanford.edu mailto:ltozzi@stanford.edu | (650) 5615738
*/Connect with us!/*
signature_1075933358 https://secure-web.cisco.com/154LqJFzFLISeYtGLsUgwToWD-mN0G4thIfubhtThzJ6F9WpZSTHEctacwX441OLHfh0UtXPCqIHTqi5NxPGqT2vUp9CwVwxTzGfBbalFm29WK-Yzcl2RjBUxGhmSPmqPMvC5_lVL--iJnfmI6UeHzCc-S6OiCJlNeTqRnb9_nAuI5_dJET2YyMRosEGTGNbjRv_nVN5ldRMD4kPNEx9WKGBzfYCQ3kDQ-Ra9E218aIcmmCY4JaMtm6GkDjrbqLvcl618Zmp1lMa9iU7tJkHhow/https%3A%2F%2Ftwitter.com%2FStanford_PMHWsignature_1282923475 http://secure-web.cisco.com/11JA0cps0LSyc_YKkvLkjj53ioS8G144vcOsjQghqMz-F2MNt-O4PUFyL4YII8C5Z9LTyzgqfxbuDRq_46cX1PtKAbMhM4GIHWkkCg-co9I8z5igR2VGlwK_p2gWbca9vQWwDALu4ub97LG4mV0U5oKnD6zvPTZG5f1BRGtbSPj70hUakvd67X8RGEcucVASu9ra_Ek3llRS0AQ5zB6YJJ_MXtuHflVQLr48It6WMEf-rGUhutwIrS7BOv_XHBjBa81gBLfzG-YreHqzY9a5vMw/http%3A%2F%2Fwww.instagram.com%2Fstanfordpmhwsignature_911042299 https://secure-web.cisco.com/1Mkao1uevqs0RL-8o0FG2efSSKGQAOwrHeahbv3dcsTbir-fMSJHMfQqDXmA-tuPwCl7qTwImS5GKeZlsVtpCZp1YhxywSgtJggCNjKUu-B9Duw2r04zO0YxOnZhVWq46szPxGdWR64Tx1C6RpT6TUytcKHDeSjJJVuu5CYeokwKF73Rf3EG3LVwDbQ0F4B4BVIp58hzou_hlElyn3nx-33Rd7og_GmnFjH8uIQmtpJFwMxLIABNV29kr9BdhAFG1MweyTWY7qrle2auQEIPEZg/https%3A%2F%2Fwww.youtube.com%2Fchannel%2FUCN8g9b2eCpSRMs6AyY15U3g
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer