obtain FDR corrected pvalues from zscores

Hi,
I ran 3dttest++ program and I obtained an output file with 2 subbricks, betas and zscores. I would like to obtain the associated fdr corrected pvalues per voxel.

I've seen that in the AFNI GUI you can establish a threshold based on the zscore and it gives you back the associated pvalue and qvalue for that zscore, but it doesn't give you a qvalue for each voxel.

How can I obtain that? I've tried running 3dFDR and then 3dPval on my 3dttest++ output, but I haven't obtained any result.

Thanks a lot in advance,
Laura

Laura,

Most AFNI programs automatically generate an FDR curve, which allows you to see the FDR-adjusted q-value for any given statistical threshold; this is the value displayed directly underneath the slider bar. However, if you need to generate a dedicated voxel-wise q-values, you should use the -qval option in the 3dFDR command.

Gang Chen