Repository 'ewastools'
hg clone https://toolshed.g2.bx.psu.edu/repos/kpbioteam/ewastools

Changeset 47:07a4b49cd165 (2019-02-22)
Previous changeset 46:7412a62e19ce (2019-02-22) Next changeset 48:0d296a6a18d3 (2019-02-22)
Commit message:
Uploaded
added:
minfi_rset.xml
b
diff -r 7412a62e19ce -r 07a4b49cd165 minfi_rset.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/minfi_rset.xml Fri Feb 22 11:09:23 2019 -0500
[
@@ -0,0 +1,40 @@
+<tool id="minfi_rset" name="Minfi rset" version="@MINFI_VERSION@">
+    <description>store Beta values and/or M values</description>
+      <macros>
+        <import>macros.xml</import>
+    </macros>
+    <expand macro="requirements" />
+    <command detect_errors="exit_code">
+    <![CDATA[
+        Rscript '$read_rset_script'
+     ]]>
+   </command>
+ <configfiles>
+      <configfile name="read_rset_script">
+   <![CDATA[
+require("minfi", quietly = TRUE)
+MSet <- get(load('$mset'))
+
+RSet <- ratioConvert(MSet, what = "both", keepCN = TRUE)
+
+save(RSet,file = '$rset')  
+    ]]> </configfile>
+        </configfiles>
+  <inputs>
+        <param type="data" name="mset" format="rdata" label="MethylSet" help="This class holds preprocessed data for Illumina methylation microarrays, mapped to a genomic
+location."/>
+    </inputs>
+    <outputs>
+        <data name="rset" format="rdata" label="RatioSet"/>
+    </outputs>
+    <tests>
+        <test>
+            <param name="mset" value="MethylSet.rdata"/>
+            <output name="rset" file="RatioSet.rdata"/>
+        </test>
+    </tests>
+    <help><![CDATA[
+        RSet class holds preprocessed data for Illumina methylation microarrays. It contains respectively the Beta value matrix, M value matrix and the Copy Number matrix.
+    ]]></help>
+    <expand macro="citations" />
+</tool>