it does not suprise me that 2014 is not working as that is pretty old. I've been using 2018 and that seems to work.

On 3/24/2022 9:31 AM, Zeng, Victor (BIDMC - Keshavan - Psychiatry) wrote:

        External Email - Use Caution

It is seemingly working in matlab R2021b rather than matlab R2014a. Can you confirm this? Otherwise that should be noted in the wiki

Get Outlook for iOS <https://secure-web.cisco.com/1qkaPGnEUesscFizw2LPsI4p5jrKjbVVDRinN3KloptB7-u42_llA31m49Ufr_8Clot1-MtBqsFxcEfgWntv3Xxct-AzZoSOiP0ZCcpqxJgJIZshsNB0FNW2KvKglGGKpPSH5xz-sZ_IicnTlZm3kN5YtOsX7TkYCsoY7pREyQYwC5YkV327GXxRAggHHpVOJXY1_xqDa_4ZMygOVqFhEfKqQROsL-mQmUUMj0RbMgk-u8weU3TZ4Q0UlLfAH7Ukpwj7x8ucKzh-QcMS9atfGFlKeRcgg749P_jcVOPKLVJyZk6sEnKn_k2vj6-aHa3iS/https%3A%2F%2Faka.ms%2Fo0ukef>
------------------------------------------------------------------------
*From:* Zeng,Victor (BIDMC - Keshavan - Psychiatry) <vz...@bidmc.harvard.edu>
*Sent:* Wednesday, March 16, 2022 5:52:54 PM
*To:* Freesurfer support list <freesurfer@nmr.mgh.harvard.edu>
*Subject:* Re: [External] Re: [Freesurfer] [External] Re: classes for GLM analysis Sorry for the different approach - but I just propensity matched people for now so I don't have to deal with so many confounding variables. Now I am trying to do multiple correction, with mriglmfit-sim not working because of high FWHM (you can ignore my other email about that...). So therefore, I am trying palm, and come up with this error:

Running PALM alpha119 using MATLAB 8.3.0.532 (R2014a) with the following options: -i /mnt/V/Datasets/BSNIP2/Processing/Finished_q2/0analysisMGH/Replication/rh.pial_lgi.NCBT1_.10.mgh -m /mnt/V/Datasets/BSNIP2/Processing/Finished_q2/0analysisGLM/Replication/rh.pial_lgi.NCBT1_.10.glmdir/mask.mgh
-d design.mat
-t design.con
-logp
-n 1000
-C 1.958920
-o fsp
-twotail
-s /mnt/V/Datasets/BSNIP2/Processing/Finished_q2/fsaverage/surf/rh.white /mnt/V/Datasets/BSNIP2/Processing/Finished_q2/fsaverage/surf/rh.white.avg.area.mgh
Found FSL in /usr/share/fsl/5.0
Found FreeSurfer in /usr/local/freesurfer/dev7
Found SPM in /home/gamma/spm8
Loading surface 1/1: /mnt/V/Datasets/BSNIP2/Processing/Finished_q2/fsaverage/surf/rh.white Reading input 1/1: /mnt/V/Datasets/BSNIP2/Processing/Finished_q2/0analysisMGH/Replication/rh.pial_lgi.NCBT1_.10.mgh
Reading design matrix and contrasts.
Elapsed time parsing inputs: ~ 7.22525 seconds.
Number of possible permutations is 9.7768e+204.
Generating 1000 shufflings (permutations only).
Building null distribution.
0.1% [Design 1/1, Contrast 1/1, Shuffling 1/1000, Modality 1/1]
/bin/sh: line 1: 14553 Illegal instruction     matlab -display iconic < run_palm.m
error: cannot find expected palm output "fsp_clustere_tstat_fwep.mgz"


This is with Freesurfer dev 20211206. Thanks and sorry for so many questions lately
Victor Zeng
Beth Israel Deaconess Medical Center
Keshavan Lab
--
------------------------------------------------------------------------
*From:* freesurfer-boun...@nmr.mgh.harvard.edu <freesurfer-boun...@nmr.mgh.harvard.edu> on behalf of Douglas N. Greve <dgr...@mgh.harvard.edu>
*Sent:* Wednesday, March 16, 2022 6:09 PM
*To:* freesurfer@nmr.mgh.harvard.edu <freesurfer@nmr.mgh.harvard.edu>
*Subject:* [External] Re: [Freesurfer] [External] Re: classes for GLM analysis
Can't tell without the fsgd file

On 3/7/2022 8:30 PM, Zeng, Victor (BIDMC - Keshavan - Psychiatry) wrote:

        External Email - Use Caution

Just to double check the numbers - I seem to have been getting into an error in how many columns in the FSGD it is expecting.

I have 9 different sites, 4 different patient groups, and M/F -> 72 classes. I also am covarying for four different factors, so the contrast matrix I am making is 72*(4+1) long. Since I want to regress out the four factors completely, only the first 72 numbers in 360 contrast matters. My FSGD file has 4 columns e.g like

Input GP0001 NCBostonM 60 12000 -0.01 -0.02

It says ERROR: gdfReadV1: Input line 1, subjid = GP0001
Found 4 variables, expected. 10

Where is this 10 coming from?


Get Outlook for iOS <https://secure-web.cisco.com/1CmpY6foykm2rgWGgaYrcRzr0P1qxgDx48OEn8PvE6j99IOUxv9ZDpni6l_fwdI0OnVsStgqydtrgGvRxD4iZJCyTKZa8Dw1KUY3OONMPI3cE7Qi1l_KELRl8n24hVPEEhocKMhRUg_1t85ggKzUKEZVAOIz7yPHUVLLZfk39UNS0PrEnMBJfo8A8Np9KAmjpIlyC9joWFe0HLW07DCyeto9M92KBQUpVEzQgHjceUKhsqMkGslqpLpjBUqM27_qtOLXWiFNOjeMJAJGG0Y8htddsdMi5sJj7xe3NOfGAHj9CoVwCN-4CWO9uzpjm0hSj/https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2F%2Fsecure-web.cisco.com%2F17NelGJ6sesfwsPcUOcH7NLCIl8poWbpnFKSkRs_Tip5fMdIWsq5voGkTtGHzn1xIw9teACerNPVmg1UDC86aygtsYvxBGSc9QJKdZxMm3Y3dOV1lpERz-8vKc-W35SxGCTR7slBrlWoSLntQcxVoI5N_W36lxBKe00LuMnuLFccVkMttfaKkDki2gEKr8rEZfBAP4oLIvzypnlk5I1Xvxx0pH9IvNr3Jhcz2dIr3phyRLDzKH1xF2zITaP2GCEjdSzIMvOq7JGNJG1jnPXQseKuq2b3dOWmyQa-nctRxcywiYYaHXfKoduT5XAwSGGo-wLjxNlMJmdBY1XoH2zdiyw%2Fhttps%2A3A%2A2F%2A2Faka.ms%2A2Fo0ukef__%3BJSUlJQ%21%21CvMGjuU%21vnOXunRQmCxtLIcEPxW_nYbG9yY7BIv3V7k4X1XUzyiTt2WwyEMm6bntnIqPAS9-nTX0Jg%24>
------------------------------------------------------------------------
*From:* Zeng,Victor (BIDMC - Keshavan - Psychiatry) <vz...@bidmc.harvard.edu> <mailto:vz...@bidmc.harvard.edu>
*Sent:* Monday, February 21, 2022 5:50:46 PM
*To:* freesurfer@nmr.mgh.harvard.edu <mailto:freesurfer@nmr.mgh.harvard.edu> <freesurfer@nmr.mgh.harvard.edu> <mailto:freesurfer@nmr.mgh.harvard.edu>
*Subject:* Re: [External] Re: [Freesurfer] classes for GLM analysis
Do you have a Freesurfer page I can read up on those hybrid ways just to see whether that could be an option?

Also, although its a binary, you would recommend against have sex be a continuous measurement like age, due to the design of how the contrasts are determined? I.e continuous measurements aren't treated like integers

Victor Zeng
Beth Israel Deaconess Medical Center
Keshavan Lab
--
------------------------------------------------------------------------
*From:* freesurfer-boun...@nmr.mgh.harvard.edu <mailto:freesurfer-boun...@nmr.mgh.harvard.edu> <freesurfer-boun...@nmr.mgh.harvard.edu> <mailto:freesurfer-boun...@nmr.mgh.harvard.edu> on behalf of Douglas N. Greve <dgr...@mgh.harvard.edu> <mailto:dgr...@mgh.harvard.edu>
*Sent:* Sunday, February 13, 2022 12:24 PM
*To:* freesurfer@nmr.mgh.harvard.edu <mailto:freesurfer@nmr.mgh.harvard.edu> <freesurfer@nmr.mgh.harvard.edu> <mailto:freesurfer@nmr.mgh.harvard.edu>
*Subject:* [External] Re: [Freesurfer] classes for GLM analysis
It is probably not going to work very well if you have some classes that only have one member. You can eliminate members of classes that only have a few members. If you really need to have those cases, there are hybrid ways to analyze the data (but you can't use an FSGD at that point)

On 2/6/2022 10:41 PM, Zeng, Victor (BIDMC - Keshavan - Psychiatry) wrote:

        External Email - Use Caution

Hi all,

I am doing an analysis and generating the FSGD. I understand sex and race are classes in this context, but something I was also hoping to regress out is the effects of scanner/sequences. We have a large participant size, so we have around 10+ scanner/sequences, which makes for a large amount of classes combinations, with some having just 1 (if not zero) fitting into a class.

Would you proceed with this nonetheless? If not, should scanner/sequence be something that we consider? Should we find some other way to adjust site (I don't think we can z-score...). Or can we consider site/scanner as a continuous variable

Victor Zeng
Beth Israel Deaconess Medical Center
Keshavan Lab
--

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu  <mailto:Freesurfer@nmr.mgh.harvard.edu>
*MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be* https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer <https://secure-web.cisco.com/140nCEvNfOCWmlYQ---Qyr3Xi8cWmEW2ZwEbP-z5Lj3U9_nc55vq76yFTAau_845VpugJms5HvDaMBjEenRSEqgJR92J_uxyMqi-K3vbg0tov56YhNSU0v0Hl0flGPMUjyGX68hCcSqLLw_IsoRWYfGteTcWW38R1m3uI1sW4pqxB-c0Q8d_EUrLQ_fwfh-FB9QtpM8WQZhzkjAav2SJBhGJBRXjVQxbTXq7_soxVA4iRrS66uLX6vb_SU8ic0Gtvy4ecgf7I_zSve9gmIpyvFRJynut8QBbTGOAPm19O3U8dYzuCNzqoTdhjDzo2vHN5/https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2F%2Fsecure-web.cisco.com%2F17qN5bDkuaeK781Lqatoj7wq00PaGKTEtcEQvhi_FMPstmuXqCbw1qu_o6m09Gx4i6uzhknWy3SdQKE8Kb42oK-aio4Z9BzzYUaW_YPZQxDITHj-XRutpm12FBHGiBhhjS4fGEam49ZyUl-0RuilU7txRjrKBOCCcsMxELYwLBlBvM23K9AWEX11Fji5iPijRXtSy4HuznIM_2nykUGok-ydbPxoYKFMVlxMuIWIzRXLiFzltn0SRH5tVQCCenBq1ij3h-gtSrMR9kxsTnFh47IjilDG3VyDbP-ABFnjzWd-65nT6_0-J2yvS26iWhf2IVujw-_cA2300rli3E8W6jg%2Fhttps%2A3A%2A2F%2A2Furldefense.com%2A2Fv3%2A2F__https%2A3A%2A2F%2A2Fmail.nmr.mgh.harvard.edu%2A2Fmailman%2A2Flistinfo%2A2Ffreesurfer__%2A3B%2A21%2A21CvMGjuU%2A21oWSHsHxjED1I9do4R5UyRdbrrRZ0JwASmA6lT5nMBEMbU4m_jfTGWrhBU-2K4sn01nxIwg%2A24__%3BJSUlJSUlJSUlJSUlJSUlJQ%21%21CvMGjuU%21vnOXunRQmCxtLIcEPxW_nYbG9yY7BIv3V7k4X1XUzyiTt2WwyEMm6bntnIqPAS9L-VU39w%24>


_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu  <mailto:Freesurfer@nmr.mgh.harvard.edu>
*MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be* https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer <https://secure-web.cisco.com/1tFlO_HHVJoyGZl1JMUC9wISDQIN1fjEpy3c7dhIpsyezL-oao2pAUBDVO_aaNxPzocUPaTX5A-hh_nSNmRLnnmmGFi0yiYGqbSv9heYbacgYtajoYINHmdU5AEIOsAMCwMVYz19N9R1bH-RNUv6esC2NmHHFFDxGgnnEu01JpI8Zp_3GPREDFAhZwhdlcpG_w4-LUt3ftWGLyrlG9Ys3-WRU7VA8Sn00vZfUfE3gYWRMSLb3U0XTIUQ5M0KyD6MoUU6M0icc6j8FjZIXR7gT75nw8Yhx40BO2iC-FyrWUos6EY4jNbUhx6Op4Yr6B-i2/https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer__%3B%21%21CvMGjuU%21vnOXunRQmCxtLIcEPxW_nYbG9yY7BIv3V7k4X1XUzyiTt2WwyEMm6bntnIqPAS_sCpRUVg%24>


_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
The information in this e-mail is intended only for the person to whom it is 
addressed.  If you believe this e-mail was sent to you in error and the e-mail 
contains patient information, please contact the Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
<https://www.massgeneralbrigham.org/complianceline> .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 

Reply via email to