Mercurial > repos > lecorguille > xcms_group
comparison lib.r @ 21:2d94a873d649 draft
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 4632d03b53c344757d71dd3310d37069fb498b26
author | lecorguille |
---|---|
date | Tue, 12 Mar 2019 11:03:30 -0400 |
parents | c8f8d598f562 |
children | fe4002ac5193 |
comparison
equal
deleted
inserted
replaced
20:63d9c5980c07 | 21:2d94a873d649 |
---|---|
67 chromBPI_merged <- chromBPI | 67 chromBPI_merged <- chromBPI |
68 chromTIC_adjusted_merged <- chromTIC_adjusted | 68 chromTIC_adjusted_merged <- chromTIC_adjusted |
69 chromBPI_adjusted_merged <- chromBPI_adjusted | 69 chromBPI_adjusted_merged <- chromBPI_adjusted |
70 } else { | 70 } else { |
71 if (is(xdata, "XCMSnExp")) xdata_merged <- c(xdata_merged,xdata) | 71 if (is(xdata, "XCMSnExp")) xdata_merged <- c(xdata_merged,xdata) |
72 else if (is(xdata, "OnDiskMSnExp")) xdata_merged <- .concatenate_OnDiskMSnExp(xdata_merged,xdata) | 72 else if (is(xdata, "OnDiskMSnExp")) xdata_merged <- xcms:::.concatenate_OnDiskMSnExp(xdata_merged,xdata) |
73 else stop("\n\nERROR: The RData either a OnDiskMSnExp object called raw_data or a XCMSnExp object called xdata") | 73 else stop("\n\nERROR: The RData either a OnDiskMSnExp object called raw_data or a XCMSnExp object called xdata") |
74 | 74 |
75 singlefile_merged <- c(singlefile_merged,singlefile) | 75 singlefile_merged <- c(singlefile_merged,singlefile) |
76 md5sumList_merged$origin <- rbind(md5sumList_merged$origin,md5sumList$origin) | 76 md5sumList_merged$origin <- rbind(md5sumList_merged$origin,md5sumList$origin) |
77 sampleNamesList_merged$sampleNamesOrigin <- c(sampleNamesList_merged$sampleNamesOrigin,sampleNamesList$sampleNamesOrigin) | 77 sampleNamesList_merged$sampleNamesOrigin <- c(sampleNamesList_merged$sampleNamesOrigin,sampleNamesList$sampleNamesOrigin) |