view computeR2.xml @ 103:e7115e44d8d8 draft default tip

Uploaded
author nicolas
date Mon, 31 Oct 2016 07:20:49 -0400
parents c8ba405ffd13
children
line wrap: on
line source

<tool id="computeR2" name="compute R2" version="1.0.0">
  <description>compute R-squared value of a prediction vs true phenotype</description>
  <command interpreter="Rscript">
	  computeR2.R $config
  </command>
  
  <inputs>
	<param name="phenotype" type="data"
		label="true phenotype" 
	/>
		  
	<param name="predictedPhenotype" type="data"
			label="predicted phenotype" 
			/>
			
  </inputs>
  
  <configfiles>
    <configfile name="config">
## Desc: this file is sourced in encode wrapper script
##  as means to pass all galaxy params to R
"${predictedPhenotype}" -> predicted
"${phenotype}" -> phenotype
"${r2}" -> out

    </configfile>
</configfiles>
  
<outputs>
	<data format="tabular" name = "r2" />
</outputs>
  
  <help>
	  compute R2 of prediction vs true phenotype
  </help>
  </tool>