diff MsDbOutputDataFrameStream.R @ 1:253d531a0193 draft

planemo upload for repository https://github.com/workflow4metabolomics/lcmsmatching.git commit 36c9d8099c20a1ae848f1337c16564335dd8fb2b
author prog
date Sat, 03 Sep 2016 17:02:01 -0400
parents e66bb061af06
children 20d69a062da3
line wrap: on
line diff
--- a/MsDbOutputDataFrameStream.R	Tue Jul 12 12:02:37 2016 -0400
+++ b/MsDbOutputDataFrameStream.R	Sat Sep 03 17:02:01 2016 -0400
@@ -1,7 +1,6 @@
 if ( ! exists('MsDbOutputDataFrameStream')) { # Do not load again if already loaded
 
 	library(methods)
-	library(plyr)
 	source('MsDbOutputStream.R')
 	source('dfhlp.R', chdir = TRUE)
 
@@ -41,6 +40,8 @@
 	
 	MsDbOutputDataFrameStream$methods( matchedPeaks = function(mz, rt = NULL, unused = NULL, peaks = NULL) {
 
+		library(plyr)
+
 		# Set input values
 		x <- data.frame(mz = mz)
 		if ( ! is.null(rt))