diff createDatabase.R @ 10:1ce857d74106 draft

planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit b6b8da66a6eef180ca8e333f98fc4b7575bac7b3
author tomnl
date Thu, 27 Jun 2019 12:40:06 -0400
parents a507a2ccb46d
children
line wrap: on
line diff
--- a/createDatabase.R	Tue Jun 25 12:44:13 2019 -0400
+++ b/createDatabase.R	Thu Jun 27 12:40:06 2019 -0400
@@ -154,15 +154,13 @@
   }
 
   xset@peaks <- as.matrix(plyr::ddply(data.frame(xset@peaks), ~ sample, convert2Raw, xset=xset))
-  
+
   # Saves the EICS into the previously created database
-  xgroups <-  as.numeric(as.character(unique(pa@grped_df$grpid)))
-  px <- msPurity::purityX(xset, 
+  px <- msPurity::purityX(xset,
                           saveEIC = TRUE,
                           cores=1,
                           sqlitePth=dbPth,
-                          rtrawColumns = TRUE, 
-                          xgroups = xgroups)
+                          rtrawColumns = TRUE)
 
 }