diff chipeakanno_annopeaks.R @ 3:9ec5e9e2e7b2 draft

planemo upload for repository https://github.com/kpbioteam/chipeakanno_annopeaks commit c53721636b1df8f6d7791eb67c86df36e9d97784
author kpbioteam
date Tue, 12 Jun 2018 08:36:25 -0400
parents a90b6d85463c
children b5bc7e70b949
line wrap: on
line diff
--- a/chipeakanno_annopeaks.R	Wed May 02 11:04:20 2018 -0400
+++ b/chipeakanno_annopeaks.R	Tue Jun 12 08:36:25 2018 -0400
@@ -1,3 +1,8 @@
+source("https://bioconductor.org/biocLite.R")
+biocLite("ChIPpeakAnno")
+ 
+biocLite("rtracklayer")
+
 require("ChIPpeakAnno", quietly = TRUE)
 require("EnsDb.Hsapiens.v75", quietly = TRUE)
 require("rtracklayer", quietly = TRUE)
@@ -23,4 +28,4 @@
 
  anno <- annoPeaks(peaks, annoData=annoData, bindingType =c(input2), bindingRegion=c(input3, input4))
  
- write.table(anno, file= output1, row.names = FALSE)
+ write.table(anno, file= output1, quote = FALSE, row.names = FALSE, sep = "/t")