Mercurial > repos > tomnl > mspurity_dimspredictpuritysingle
comparison createDatabase.R @ 5:f12213ae74c4 draft
planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 14eafbdb65f491713d1314d77c454defd137c392
| author | tomnl |
|---|---|
| date | Tue, 18 Jun 2019 11:09:09 -0400 |
| parents | e96c518a3f06 |
| children | a507a2ccb46d |
comparison
equal
deleted
inserted
replaced
| 4:e96c518a3f06 | 5:f12213ae74c4 |
|---|---|
| 154 return(x) | 154 return(x) |
| 155 | 155 |
| 156 } | 156 } |
| 157 | 157 |
| 158 xset@peaks <- as.matrix(plyr::ddply(data.frame(xset@peaks), ~ sample, convert2Raw, xset=xset)) | 158 xset@peaks <- as.matrix(plyr::ddply(data.frame(xset@peaks), ~ sample, convert2Raw, xset=xset)) |
| 159 | 159 closeAllConnections() |
| 160 # Saves the EICS into the previously created database | 160 # Saves the EICS into the previously created database |
| 161 px <- msPurity::purityX(xset, saveEIC = TRUE, | 161 px <- msPurity::purityX(xset, saveEIC = TRUE, |
| 162 cores=2, sqlitePth=dbPth, | 162 cores=1, sqlitePth=dbPth, |
| 163 rtrawColumns = TRUE) | 163 rtrawColumns = TRUE) |
| 164 | 164 |
| 165 } | 165 } |
| 166 | 166 |
| 167 closeAllConnections() | 167 closeAllConnections() |
