Mercurial > repos > tomnl > mspurity_createdatabase
comparison flagRemove.R @ 6:530dc7c80add draft
planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 781bf118b12bf8f32e540932f4aaa3170f88b2ce
| author | tomnl |
|---|---|
| date | Tue, 18 Jun 2019 14:51:42 -0400 |
| parents | 52999a8b46fb |
| children |
comparison
equal
deleted
inserted
replaced
| 5:6c2ab7d0805d | 6:530dc7c80add |
|---|---|
| 124 #loads an RData file, and returns the named xset object if it is there | 124 #loads an RData file, and returns the named xset object if it is there |
| 125 load(rdata_path) | 125 load(rdata_path) |
| 126 return(get(ls()[ls() %in% name])) | 126 return(get(ls()[ls() %in% name])) |
| 127 } | 127 } |
| 128 | 128 |
| 129 xset <- loadRData(opt$xset_path, c('xset','xdata')) | 129 xset <- getxcmsSetObject(loadRData(opt$xset_path, c('xset','xdata'))) |
| 130 | 130 |
| 131 print(xset) | 131 print(xset) |
| 132 if (is.null(opt$samplelist)){ | 132 if (is.null(opt$samplelist)){ |
| 133 blank_class <- opt$blank_class | 133 blank_class <- opt$blank_class |
| 134 }else{ | 134 }else{ |
