help
help > Applying AFNI stats file as overlay and range does not reflect f-stat values
Feb 25, 2021 05:02 PM | igallagher
Applying AFNI stats file as overlay and range does not reflect f-stat values
Hi everyone!
I am running into an error with visualizing my 3dANOVA3 f-stat test in MRIcronGL.
In AFNI, with setting p = 0.005 and a cluster threshold, 2 clusters are produced with peak f-stats of 9.63 and 9.75.
I want to load my stats file (3dANOVA3.ples.psc.Diet_by_Food.UM.obese.15subjects.reward_mask+tlrc.HEAD) produced from AFNI with contrasts/sub-bricks.
Below is a brief script:
import gl
gl.resetdefaults()
gl.loadimage('TT_N27+tlrc')
#open overlay: show f-stat
gl.overlayload('/Users/#username/Desktop/CFRdata/New_CFR_files/3dANOVA3.ples.psc.Diet_by_Food.UM.obese.15subjects.reward_mask+tlrc.HEAD[Diet_Effect:F-stat]')
gl.minmax(1, 0, 10)
After the script is run, I want to use sub-brick 2/48 (the second in the file) called "Diet_Effect:F-stat" and I select this after the script is run. Then, the range goes from 0-10 to 0-0.0012. (Attached screenshot)
I have tw questions:
1. How do I indicate what sub-brick to select in the script?
2. Why does the min and max not display they values I see in AFNI?
Thank you so much for your help!
I am running into an error with visualizing my 3dANOVA3 f-stat test in MRIcronGL.
In AFNI, with setting p = 0.005 and a cluster threshold, 2 clusters are produced with peak f-stats of 9.63 and 9.75.
I want to load my stats file (3dANOVA3.ples.psc.Diet_by_Food.UM.obese.15subjects.reward_mask+tlrc.HEAD) produced from AFNI with contrasts/sub-bricks.
Below is a brief script:
import gl
gl.resetdefaults()
gl.loadimage('TT_N27+tlrc')
#open overlay: show f-stat
gl.overlayload('/Users/#username/Desktop/CFRdata/New_CFR_files/3dANOVA3.ples.psc.Diet_by_Food.UM.obese.15subjects.reward_mask+tlrc.HEAD[Diet_Effect:F-stat]')
gl.minmax(1, 0, 10)
After the script is run, I want to use sub-brick 2/48 (the second in the file) called "Diet_Effect:F-stat" and I select this after the script is run. Then, the range goes from 0-10 to 0-0.0012. (Attached screenshot)
I have tw questions:
1. How do I indicate what sub-brick to select in the script?
2. Why does the min and max not display they values I see in AFNI?
Thank you so much for your help!
Threaded View
Title | Author | Date |
---|---|---|
igallagher | Feb 25, 2021 | |
Chris Rorden | Mar 4, 2021 | |