It looks like you are doing the right thing. You indicated not to use a contrast matrix. If you want to test a contrast, I think the matrix would be [0 1] (I think it adds an offset regressor)
On 2/10/2023 4:50 PM, Finn, Quentin wrote:
External Email - Use Caution
Freesurfer experts,
I have some surface data that I'd like to correlate with some other data, although a linear regression would also be fine if I could get something like a t-stat out of it.
This data came from two different PET tracers -- voxelwise data was resampled via vol2surf onto each subjects cortical surface:
So I have, say, data like this:
tracer1_subj1_lh.mgh tracer1_subj2_lh.mgh . . . . tracer1_subjn_lh.mgh
And then I have another set:
tracer2_subj1_lh.mgh tracer2_subj2_lh.mgh . . . . tracer2_subjn_lh.mgh
I'd really like to just stack them all up with mris_preproc, something like this:
mris_preproc --is tracer1_subj1_lh.mgh --istracer1_subj2_lh.mgh [etc] --istracer1_subjn_lh.mgh--out tracer1_lh.mgh --hemi lh --fsgd tracer1.fsgd mris_preproc --is tracer2_subj1_lh.mgh --istracer2_subj2_lh.mgh [etc] --istracer2_subjn_lh.mgh--out tracer2_lh.mgh --hemi lh --fsgd tracer1.fsgd
The FSGD's are the same because the subjects are the same.
and then run something like...
mri_glmfit --glmdir tracer1_tracer2_left --y tracer1_lh.mgh --fsgd tracer1.fsgd --pvr tracer2.mgh --no-contrasts-ok --surface fsaverage lh
This doesn't have an output that's really what I'm looking for as far as I can tell though, there's no fit statistics type overlay in the output folder, probably because I'm doing something wrong.
Any help on this would be just wonderful!
-quentin finn
Houston Methodist. Leading Medicine.
/U.S. News & World Report/ has named Houston Methodist Hospital the Best Hospital in Texas for 11 years in a row. Houston Methodist is the No. 1 hospital in Texas and No. 15 in the nation. For more than 100 years, Houston Methodist has provided the best — and safest — clinical care, advanced technology and patient experience. That is our promise of leading medicine.
*MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be* houstonmethodist.org https://secure-web.cisco.com/12pBBZlON76rKbGMvy3hT_yk8oFXXwB3MK0aZ_LDAHLg4YNHpvt4n4lrao-2Xbe15jia2vhv601qddYMthHusAvvWzP2aauGe5Yy3EDv7Bzu6gdugLxs83DnDlCk94tlk-oA1adzawgC2WlxO9Xj-hofJKtoTFnaP0j4_hJnJGEGMY76doSeE559kQHihizPEzFCOdpyupNwo1gfzcsAmy50G0Yw1HO4IxVXrH-DeUDpCCGEb6a-A4OYja6HKzjCqJA-zC-53s-lA-X6AGVjC7Kj7Rb7UqGuPhTXMMTfPSjMmQ8jJ48POIcw8BQzzYZPt_RYye8x5b2LE1x11qrcA9Q/https%3A%2F%2Fwww.houstonmethodist.org%2F *MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be* twitter.com/MethodistHosp https://secure-web.cisco.com/1IxS5m5wcVkEW9-nHr4PkJ0h53Iq8P1CyYCdV_-_rLbvmOti44PhBFCrbGVZv5vwFZz1CAYiPw8p4FArWOWU6PwcHkrq6IZxm4cbGap_HFUmbB9Q0OsEsdswJNy4fP3gVCDQ-To7v67JXKdGnr7ova4ZzrXURsgVSeior7J9fvggT4OJ9AB9TC1P-9R-MQtk2WrEr851AK5n2sW1-HVGKObWsbiDjU52elsctPt1s_xnyjkzqYfFcY-k3opiujxXKr4xpuCamIKxAyMnXhvxoabzYGBGxGKJKdyyx0H0QI82BedP2XI7Zx8Hsj4u6Y5izBe86fFF9N73OUj_I3PUdKQ/https%3A%2F%2Ftwitter.com%2FMethodistHosp
*MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be* facebook.com/HoustonMethodist https://secure-web.cisco.com/1G36S2R94EktMBrTTERzcHsLjrSdB5oiM865DoqjRHo-K3JUepsYo63VM4JAo4D1VXLEkBnO70ocfyn8xIvFiZY57RMRziAIRTawCKPBywYZ0aO92XcPRb_W6pdMF5_n4jhEXIJ9BRMFNGvnxB0kFxq6IYpNKwxcqo--kg249GawzAJmSafXaJf7UXhmH0GOf4EUwFy-nziqx0qeUPO4k6mqv7SJp7g1oQB7r41t6N1FKluSd59Fy_9V235hs2Ls6XEG4c-dAfq51mNzyC6c38GMClwjbqic1imQOr1Pi0G2qMHYGu9wP3sHpL1klAPI4Axthw_hNN6qU5I-2uAe8fA/https%3A%2F%2Fwww.facebook.com%2Fhoustonmethodist%2F
***CONFIDENTIALITY NOTICE*** This e-mail is the property of Houston Methodist and/or its relevant affiliates and may contain restricted and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender and delete all copies of the message. Thank you.
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer