view matrix_manipulate/matrix_rank_normalize.xml @ 0:eeaa112c9ee0 draft

Uploaded
author kellrott
date Fri, 21 Dec 2012 16:43:16 -0500
parents
children 669cf72f8b79
line wrap: on
line source

<tool id="rank_normalize" name="Rank Normalize" version="1.0.0">
  <description>Perform a rank normalized transform to a number matrix</description>
  <command interpreter="python">rank_normalize.py 
#if $dropZeros:
-z
#end if  
#if $na2zero:
-n
#end if
$inMatrix -o $outMatrix
  </command>
  <inputs>
	    <param name="inMatrix" type="data" format="tabular" label="Input Matrix"/>
      <param name="dropZeros" type="boolean" label="Drop Input Zeros" checked="True"/>
      <param name="na2zero" type="boolean" label="Set Output NAs to Zero" checked="False"/>
  </inputs>
  <outputs>
      <data name="outMatrix" format="tabular"/>
  </outputs>
  <help>
Determines the ranking of every number in a matrix and then normalizes them into a 
distribution between 0 and 1.
  </help>
</tool>