comparison 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
comparison
equal deleted inserted replaced
9:c874652f3029 10:1ce857d74106
152 return(x) 152 return(x)
153 153
154 } 154 }
155 155
156 xset@peaks <- as.matrix(plyr::ddply(data.frame(xset@peaks), ~ sample, convert2Raw, xset=xset)) 156 xset@peaks <- as.matrix(plyr::ddply(data.frame(xset@peaks), ~ sample, convert2Raw, xset=xset))
157 157
158 # Saves the EICS into the previously created database 158 # Saves the EICS into the previously created database
159 xgroups <- as.numeric(as.character(unique(pa@grped_df$grpid))) 159 px <- msPurity::purityX(xset,
160 px <- msPurity::purityX(xset,
161 saveEIC = TRUE, 160 saveEIC = TRUE,
162 cores=1, 161 cores=1,
163 sqlitePth=dbPth, 162 sqlitePth=dbPth,
164 rtrawColumns = TRUE, 163 rtrawColumns = TRUE)
165 xgroups = xgroups)
166 164
167 } 165 }
168 166
169 closeAllConnections() 167 closeAllConnections()