Easy? No. Possible? Yes -- by brute force using caret_command
-metric-math-postfix:
caret_command -metric-math-postfix
<input-metric-file-name>
<output-metric-file-name>
<output-column-name-number>
<postfix-expression-within-double-quotes>
Perform mathematical operations on a metric file. The
mathematical expression must be in post-fix (reverse
polish notation). See
http://en.wikipedia.org/wiki/Reverse_Polish_notation
The postfix expression must be in double quotes. Otherwise,
operators, such as "*" will match all files in the
current directory.
A metric column is identified by a sequence of characters
the are immediately proceeded and immediately followed by
an at-sign (@).
These characters are either the name of the metric column or
the number of the metric column which starts at one. To use
a metric column that is in a metric file other than the input
metric file, start with an at-sign, followed by the name of
the metric file, followed by a colon (:),
followed by the identifier of the metric column, and lastly,
an at-sign.
Spaces are allowed in file names or column identifiers:
Example "@test file::subject 2@"
Examples (for the column named "activation" located in:
the file named "experiment.metric"
@activation@
@experiment.metric::activation@
If the output metric column is a name and it does not exist
it will be created.
Binary operators supported are:
+ addition
- subtraction
* multiplication
/ division
^ exponention
max2 maximum-value
min2 minimum-value
Unary operations supported are:
abs absolute-value
exp exponential function
flipsign flip the sign
log natural log
log2 base 2 logarithm
log10 base 10 logarithm
sqrt square root
Predefined values from each nodes metric values
nodeavg Average value at each node
nodemax Maximum value at each node
nodemin Minimum value at each node
nodesum Sum of values at each node
Example: "5 1 2 + 4 * + 3 -"
Infix => ((1 + 2) * 4 + 5 - 3)
evaluates to 14.
Example: "2 3 * 2 3 + min2"
Infix => min2(2 * 3, 2 + 3)
evaluates to 5.
Example: "@one@ @two@ add"
adds the columns named "one" and "two".
For a sample script, see:
http://brainmap.wustl.edu/pub/donna/WUSTL/BURTON/SCRIPTS/metric_stats.sh
login pub
password download
I don't think it converts t to z, per se, but you'd get the idea.
On 04/02/2010 10:20 PM, QUINTINO MANO wrote:
> Hello,
>
> Does any one know of an easy way to convert columns of t-scores in
> a .metric file to z-scores?
>
> Thanx
> _______________________________________________
> caret-users mailing list
> [email protected]
> http://brainvis.wustl.edu/mailman/listinfo/caret-users
>
_______________________________________________
caret-users mailing list
[email protected]
http://brainvis.wustl.edu/mailman/listinfo/caret-users