changeset 66:d8cc862e6412 draft

Uploaded
author bornea
date Sat, 27 Aug 2016 22:14:02 -0400
parents a551998e1068
children b8169cc0b860
files flatten_mzIdentML.R
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flatten_mzIdentML.R	Sat Aug 27 22:14:02 2016 -0400
@@ -0,0 +1,9 @@
+#! /usr/bin/Rscript
+args <- commandArgs(trailingOnly = TRUE)
+#source("https://bioconductor.org/biocLite.R")
+#biocLite("mzID")
+library(mzID)
+library(dplyr)
+mzResults <- mzID(args[1])
+flatresults <- flatten(mzResults)
+write.table(flatresults,"flat_mzIdentML.txt",sep="\t",quote=FALSE,row.names=FALSE)
\ No newline at end of file