comparison flatten_mzIdentML.R @ 74:47aa4f551c53 draft

Uploaded
author bornea
date Sat, 27 Aug 2016 23:57:34 -0400
parents d8cc862e6412
children
comparison
equal deleted inserted replaced
73:50391fdc229a 74:47aa4f551c53
1 #! /usr/bin/Rscript 1 #! /usr/bin/Rscript
2 ins_check_run <- function() {
3 if ("mzID" %in% rownames(installed.packages())){}
4 else {
5 source("https://bioconductor.org/biocLite.R")
6 biocLite('mzID')
7 }
8 if ('dplyr' %in% rownames(installed.packages())){}
9 else {
10 install.packages('dplyr', repos='http://cran.us.r-project.org')
11 }
12 }
13
14 ins_check_run()
2 args <- commandArgs(trailingOnly = TRUE) 15 args <- commandArgs(trailingOnly = TRUE)
3 #source("https://bioconductor.org/biocLite.R") 16 #source("https://bioconductor.org/biocLite.R")
4 #biocLite("mzID") 17 #biocLite("mzID")
5 library(mzID) 18 library(mzID)
6 library(dplyr) 19 library(dplyr)