Repository 'saint_preprocessing'
hg clone https://toolshed.g2.bx.psu.edu/repos/bornea/saint_preprocessing

Changeset 74:47aa4f551c53 (2016-08-27)
Previous changeset 73:50391fdc229a (2016-08-27) Next changeset 75:792056ff8ed5 (2016-09-02)
Commit message:
Uploaded
modified:
flatten_mzIdentML.R
b
diff -r 50391fdc229a -r 47aa4f551c53 flatten_mzIdentML.R
--- a/flatten_mzIdentML.R Sat Aug 27 23:37:08 2016 -0400
+++ b/flatten_mzIdentML.R Sat Aug 27 23:57:34 2016 -0400
b
@@ -1,4 +1,17 @@
 #! /usr/bin/Rscript
+ins_check_run <- function() {
+  if ("mzID" %in% rownames(installed.packages())){}
+  else {
+    source("https://bioconductor.org/biocLite.R")
+    biocLite('mzID')
+  }
+  if ('dplyr' %in% rownames(installed.packages())){}
+  else {
+    install.packages('dplyr', repos='http://cran.us.r-project.org')
+  }
+}
+
+ins_check_run()
 args <- commandArgs(trailingOnly = TRUE)
 #source("https://bioconductor.org/biocLite.R")
 #biocLite("mzID")