AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
May 07, 2015 02:09PM
Hi Matt,

Isaac answered the first part of your question, but as
Matthew_2 Wrote:
-------------------------------------------------------
> Dear AFNI gurus,
>
> I'm writing about using the AFNI matlab tool
> WriteBrik.m
>
> My intention is to run statistics in matlab and
> then write a brik that can be used in AFNI's
> viewer GUI with cluster thresholds defined from
> 3dClustSim.
>
>
> Moreover, it looks like the Clusterize tool is
> used with values OVER a certain threshold, so I
> imagine I could set the threshold at 0.95 and
> invert the p-values (i.e., 1 - p, for each voxel)
> in order to set a threshold that would correspond
> to a p-value of 0.05 in the original dataset. I
> imagine there may be a better way?

You could convert your p values to Z-scores. That would make more sense for the thresholding.

> Like can
> WriteBrik be used to create the sort of
> statistical maps that AFNI is use to? If so, what
> do you recommend?

Yes, but you will have to handle setting all header parameters yourself from matlab and that can get complicated though you could start by looking for the kinds of fields populated by AFNI programs that produce the kind of output you will. For information on AFNI's dataset header fields check out README.attributes. You can have afni open it for you with: apsearch -view_readme attri

cheers
Ziad

>
> Many thanks,
>
> Matthew
Subject Author Posted

question about WriteBrik

Matthew_2 May 06, 2015 06:40PM

Re: question about WriteBrik

Isaac Schwabacher May 07, 2015 11:59AM

Re: question about WriteBrik

ziad May 07, 2015 02:09PM