Hi Freesurfers,
I'm having some issues running mri_glmfit using a simple custom GLM file. I've double checked to make sure the subject session file passed to isxconcat-sess is the same as the fsgd file and also checked the formatting corresponds with what is posted online however I keep getting the same error:
ERROR: gdfReadV1: Input line 1, subjid = A02217-w2
Found 43 variables, expected. 1
FSGDF Format Error: file = /Users/seldamat/Dropbox/Projects/ADS/data/ads.emostroop.marketing/new.exposure.fsgd, tag=Input
ERROR: cannot find glm-exposure
My fsgd file is attached. Please any help would be greatly appreciated on this time sensitive matter.
Thank you, Shady
On Thu, Nov 26, 2015 at 12:00 PM, freesurfer-request@nmr.mgh.harvard.edu wrote:
Send Freesurfer mailing list submissions to freesurfer@nmr.mgh.harvard.edu
To subscribe or unsubscribe via the World Wide Web, visit https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer or, via email, send a message with subject or body 'help' to freesurfer-request@nmr.mgh.harvard.edu
You can reach the person managing the list at freesurfer-owner@nmr.mgh.harvard.edu
When replying, please edit your Subject line so it is more specific than "Re: Contents of Freesurfer digest..."
Today's Topics:
- voxel value scaling (Rockers, Elijah D.)
- Re: voxel value scaling (Douglas Greve)
- Re: voxel value scaling (Rockers, Elijah D.)
- Re: Error - extracting percent signal (Douglas Greve)
- Re: bring volumes to fsaverage space (Andrew Bock)
- FS v.6.0 (Th?c Trinh)
- recon-all with more than 10 inputs (???)
- Re: Multiple comparisons to confirm atrophy (Anderson M. Winkler)
- report a bug (salvatoreandrea.92@libero.it)
Message: 1 Date: Wed, 25 Nov 2015 17:08:28 +0000 From: "Rockers, Elijah D." edrockers@houstonmethodist.org Subject: [Freesurfer] voxel value scaling To: Freesurfer support list freesurfer@nmr.mgh.harvard.edu Message-ID: 5655EB0C.1000309@houstonmethodist.org Content-Type: text/plain; charset="utf-8"
I am interested in finding a way to apply a slope scaling factor to the voxel values in a NIfTI image.
I have done this in MATLAB and PMOD so far, but for some reason both methods change the origin or otherwise distort the dimensions of the image and render it impossible for me to process further.
Something that simply scales the values without touching the header (or at least as little as possible) would be great. Is anything like this out there?
Thanks,
Eli
Houston Methodist. Leading Medicine.
Ranked by U.S.News & World Report as one of America's "Best Hospitals" in 11 specialties. Named to FORTUNE? Magazine's "100 Best Companies to Work For?" list 10 years in a row. Designated as a Magnet hospital for excellence in nursing. Visit us at houstonmethodist.org. Follow us at twitter.com/MethodistHosp and www.facebook.com/HoustonMethodist.
***CONFIDENTIALITY NOTICE*** This e-mail is the property of Houston Methodist Hospital 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.
Message: 2 Date: Wed, 25 Nov 2015 12:54:23 -0500 From: Douglas Greve greve@nmr.mgh.harvard.edu Subject: Re: [Freesurfer] voxel value scaling To: freesurfer@nmr.mgh.harvard.edu Message-ID: 5655F5CF.8050907@nmr.mgh.harvard.edu Content-Type: text/plain; charset=utf-8; format=flowed
You can use fscalc, something like fscalc input.nii mul 10 -o output.nii I think you can use fslmaths as well
On 11/25/15 12:08 PM, Rockers, Elijah D. wrote:
I am interested in finding a way to apply a slope scaling factor to the voxel values in a NIfTI image.
I have done this in MATLAB and PMOD so far, but for some reason both methods change the origin or otherwise distort the dimensions of the image and render it impossible for me to process further.
Something that simply scales the values without touching the header (or at least as little as possible) would be great. Is anything like this out there?
Thanks,
Eli
Houston Methodist. Leading Medicine.
Ranked by U.S.News & World Report as one of America's "Best Hospitals"
in 11 specialties. Named to FORTUNE? Magazine's "100 Best Companies to Work For?" list 10 years in a row. Designated as a Magnet hospital for excellence in nursing. Visit us at houstonmethodist.org. Follow us at twitter.com/MethodistHosp and www.facebook.com/HoustonMethodist.
***CONFIDENTIALITY NOTICE*** This e-mail is the property of Houston
Methodist Hospital 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
Message: 3 Date: Wed, 25 Nov 2015 18:01:37 +0000 From: "Rockers, Elijah D." edrockers@houstonmethodist.org Subject: Re: [Freesurfer] voxel value scaling To: Freesurfer support list freesurfer@nmr.mgh.harvard.edu Cc: "Pascual, Maria B." BPascual@houstonmethodist.org, "Xue, Zhong" ZXue@houstonmethodist.org Message-ID: 5655F781.6000609@houstonmethodist.org Content-Type: text/plain; charset="utf-8"
Great thank you!
On 11/25/2015 11:54 AM, Douglas Greve wrote:
You can use fscalc, something like fscalc input.nii mul 10 -o output.nii I think you can use fslmaths as well
On 11/25/15 12:08 PM, Rockers, Elijah D. wrote:
I am interested in finding a way to apply a slope scaling factor to the voxel values in a NIfTI image.
I have done this in MATLAB and PMOD so far, but for some reason both methods change the origin or otherwise distort the dimensions of the image and render it impossible for me to process further.
Something that simply scales the values without touching the header (or at least as little as possible) would be great. Is anything like this out there?
Thanks,
Eli
Houston Methodist. Leading Medicine.
Ranked by U.S.News & World Report as one of America's "Best Hospitals"
in 11 specialties. Named to FORTUNE? Magazine's "100 Best Companies to Work For?" list 10 years in a row. Designated as a Magnet hospital for excellence in nursing. Visit us at houstonmethodist.org. Follow us at https://urldefense.proofpoint.com/v2/url?u=http-3A__twitter.com_MethodistHos... and https://urldefense.proofpoint.com/v2/url?u=http-3A__www.facebook.com_Houston... .
***CONFIDENTIALITY NOTICE*** This e-mail is the property of Houston
Methodist Hospital 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://urldefense.proofpoint.com/v2/url?u=https-3A__mail.nmr.mgh.harvard.ed...
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu
https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.nmr.mgh.harvard.ed...
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
contains patient information, please contact the Partners Compliance
HelpLine at
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.partners.org_complia... . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and
properly
dispose of the e-mail.
Message: 4 Date: Wed, 25 Nov 2015 13:03:39 -0500 From: Douglas Greve greve@nmr.mgh.harvard.edu Subject: Re: [Freesurfer] Error - extracting percent signal To: freesurfer@nmr.mgh.harvard.edu Message-ID: 5655F7FB.8010801@nmr.mgh.harvard.edu Content-Type: text/plain; charset="windows-1252"
It looks like the ces input is from a surface-based analysis. If you're label is already on the surface, then no need to do the label2vol step. If it is in the volume, then you'll need to transfer it to the surface with mri_label2label with the --paint option doug
On 11/24/15 12:14 PM, Danielle Miller wrote:
Hello freesurfer experts,
I am trying to extract an average percent signal change from a functional roi label I created in tkmedit using fsaverage. I followed previously discussed methods:
- mri_label2vol --label <name of label> --temp
fsaverage/mri.2mm/orig.mgz --regheader fsaverage/mri/orig.mgz --o
<name of label mask>
- I checked (tkmedit fsaverage orig.mgz -overlay <label mask>
-fminmax .5 1) and the label looked fine
- I ran mri_segstats --i ces.nii.gz --seg <label mask from above>
--id 1 --avgwf ces.label.dat ces.nii.gz is the file from my group analysis (isxconcat-sess) using the correct contrast It returns with this error: ERROR: dimension mismatch between input volume and seg input 163842 1 1 seg 76 76 93
Is there something I am doing wrong here?
Also of note I tried using the following commands:
- funcroi-config -label <label mask created from above mri_label2vol>
-analysis <analysis directory> -roi <name of roicfg file>
- funcroi-sess -sf sessid - roi <roicfg file from above>
But this returns with this error: ERROR: cannot find
/Volumes/VA_Imaging/Projects/dmiller/COGCON/FSFAST/CC_001_recon/label/label_lh_ACC_correct_mask.mgz
Any suggestions would be extremely helpful.
Thanks, Danielle -- Ph.D. Program in Behavioral Neuroscience Boston University School of Medicine L-815 72 E. Concord St Boston, MA 02118
VA Boston Healthcare System Jamaica Plain Memory Disorders Research Center 150 South Huntington Ave D11-103 Boston, MA 02130 OFFICE:(857) 364-2130
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer