Mercurial > repos > lecorguille > xcms_export_samplemetadata
comparison lib.r @ 6:14316f8f67a2 draft
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 4632d03b53c344757d71dd3310d37069fb498b26
author | lecorguille |
---|---|
date | Tue, 12 Mar 2019 11:07:11 -0400 |
parents | 8c62030a1136 |
children | f39cd33a73a6 |
comparison
equal
deleted
inserted
replaced
5:45a1db23a4a5 | 6:14316f8f67a2 |
---|---|
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) |