changeset 32:9ae17a3d1a91 draft

Uploaded 20170531
author fabio
date Wed, 31 May 2017 12:39:37 -0400
parents 2f24f591631e
children 40542bd944eb
files ._ETn_example ._example ._loadandplot.R ._plotwithscale.R ._testandplot.R ETn_example/._.DS_Store ETn_example/._Control.bed ETn_example/._DESCRIPTION.txt ETn_example/._ETn_fixed.bed ETn_example/._Recombination_hotspots.txt ETn_example/._features.header ETn_example/._regions.header example/._.DS_Store example/._Controls_regions.bed example/._DESCRIPTION.txt example/._Elements1_regions.bed example/._Elements2_regions.bed example/._Elements3_regions.bed example/._Feature1.bed example/._Feature2.bed example/._features.header.bed.txt example/._regions.header.txt loadandplot.R macros.xml
diffstat 24 files changed, 7 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
Binary file ._ETn_example has changed
Binary file ._example has changed
Binary file ._loadandplot.R has changed
Binary file ._plotwithscale.R has changed
Binary file ._testandplot.R has changed
Binary file ETn_example/._.DS_Store has changed
Binary file ETn_example/._Control.bed has changed
Binary file ETn_example/._DESCRIPTION.txt has changed
Binary file ETn_example/._ETn_fixed.bed has changed
Binary file ETn_example/._Recombination_hotspots.txt has changed
Binary file ETn_example/._features.header has changed
Binary file ETn_example/._regions.header has changed
Binary file example/._.DS_Store has changed
Binary file example/._Controls_regions.bed has changed
Binary file example/._DESCRIPTION.txt has changed
Binary file example/._Elements1_regions.bed has changed
Binary file example/._Elements2_regions.bed has changed
Binary file example/._Elements3_regions.bed has changed
Binary file example/._Feature1.bed has changed
Binary file example/._Feature2.bed has changed
Binary file example/._features.header.bed.txt has changed
Binary file example/._regions.header.txt has changed
--- a/loadandplot.R	Wed May 31 12:33:02 2017 -0400
+++ b/loadandplot.R	Wed May 31 12:39:37 2017 -0400
@@ -1,10 +1,6 @@
-if (require("IWTomics",character.only = TRUE,quietly = FALSE)) {
-  require(tools,quietly = FALSE)
+library("IWTomics", quietly=TRUE, warn.conflicts=FALSE,verbose = FALSE)
+#if (require("IWTomics",character.only = TRUE,quietly = FALSE)) {
   args=commandArgs(TRUE)
-
-  for (i in seq_along(args)) {
-    message(args[[i]])
-  }
   
   # get args names and values
   args_values=strsplit(args,'=')
@@ -140,7 +136,7 @@
               #file=outfeatures,quote=FALSE,sep='\t',row.names=FALSE,col.names=FALSE)
   write.table(as.data.frame(t(idFeatures(regionsFeatures))),file=outfeatures,quote=FALSE,sep='\t',row.names=FALSE,col.names=FALSE)
   save(regionsFeatures,file=outrdata)
-}else{
-  quit(save="no", status=255)
-  stop("Missing IWTomics package")
-}
\ No newline at end of file
+#}else{
+  #quit(save="no", status=255)
+  #stop("Missing IWTomics package")
+#}
\ No newline at end of file
--- a/macros.xml	Wed May 31 12:33:02 2017 -0400
+++ b/macros.xml	Wed May 31 12:39:37 2017 -0400
@@ -3,7 +3,7 @@
     <xml name="requirements">
         <requirements>
             <requirement type="package" version="3.3.1">R</requirement>
-            <requirement type="package" version="@VERSION@">IWTomics</requirement>
+            <requirement type="R-module" version="@VERSION@">IWTomics</requirement>
         </requirements>
     </xml>
 </macros>
\ No newline at end of file