Repository 'oghma'
hg clone https://toolshed.g2.bx.psu.edu/repos/nicolas/oghma

Changeset 37:6b5c0c7b4585 (2016-10-25)
Previous changeset 36:d961f726b619 (2016-10-25) Next changeset 38:8112bc642858 (2016-10-25)
Commit message:
Uploaded
added:
plotPrediction.xml
b
diff -r d961f726b619 -r 6b5c0c7b4585 plotPrediction.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/plotPrediction.xml Tue Oct 25 14:41:18 2016 -0400
b
@@ -0,0 +1,36 @@
+<tool id="plotPrediction" name="plot prediction" version="1.0.0">
+  <description>shows scatterplot of a prediction vs true phenotype</description>
+  <command interpreter="Rscript">
+   plotPrediction.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="pdf" name = "r2" />
+</outputs>
+  
+  <help>
+   draw R2 of prediction vs true phenotype
+  </help>
+  </tool>
\ No newline at end of file