# HG changeset patch # User lecorguille # Date 1541795299 18000 # Node ID af8da7f83ff7dbfd58bc4aad8b9aacd49e2cf55e # Parent fef2dd87fb80556afbda742e59a8cc14b3815393 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 37b0a6a7686f701e4bf00db97ae2c1b82cd6e989 diff -r fef2dd87fb80 -r af8da7f83ff7 README.rst --- a/README.rst Thu Oct 04 09:49:15 2018 -0400 +++ b/README.rst Fri Nov 09 15:28:19 2018 -0500 @@ -2,6 +2,10 @@ Changelog/News -------------- +**Version 3.0.0.1 - 09/11/2018** + +- BUGFIX: issue when the vector at peakidx is too long and is written in a new line during the export of the peaklist + **Version 3.0.0.0 - 08/03/2018** - UPGRADE: upgrade the xcms version from 1.46.0 to 3.0.0. So refactoring of a lot of underlying codes and methods. Some parameters may have been renamed. diff -r fef2dd87fb80 -r af8da7f83ff7 abims_xcms_group.xml --- a/abims_xcms_group.xml Thu Oct 04 09:49:15 2018 -0400 +++ b/abims_xcms_group.xml Fri Nov 09 15:28:19 2018 -0500 @@ -1,4 +1,4 @@ - + Perform the correspondence, the grouping of chromatographic peaks within and between samples. @@ -73,7 +73,7 @@ - + @@ -355,6 +355,10 @@ Changelog/News -------------- +**Version 3.0.0.1 - 09/11/2018** + +- BUGFIX: issue when the vector at peakidx is too long and is written in a new line during the export of the peaklist + **Version 3.0.0.0 - 08/03/2018** - UPGRADE: upgrade the xcms version from 1.46.0 to 3.0.0. So refactoring of a lot of underlying codes and methods. Some parameters may have been renamed. diff -r fef2dd87fb80 -r af8da7f83ff7 lib.r --- a/lib.r Thu Oct 04 09:49:15 2018 -0400 +++ b/lib.r Fri Nov 09 15:28:19 2018 -0500 @@ -198,6 +198,9 @@ variableMetadata <- formatIonIdentifiers(variableMetadata, numDigitsRT=numDigitsRT, numDigitsMZ=numDigitsMZ) dataMatrix <- naTOzeroDataMatrix(dataMatrix, naTOzero) + # FIX: issue when the vector at peakidx is too long and is written in a new line during the export + variableMetadata[,"peakidx"] <- vapply(variableMetadata[,"peakidx"], FUN = paste, FUN.VALUE = character(1), collapse = ",") + write.table(variableMetadata, file=variableMetadataOutput,sep="\t",quote=F,row.names=F) write.table(dataMatrix, file=dataMatrixOutput,sep="\t",quote=F,row.names=F) @@ -260,9 +263,9 @@ #Create the sampleMetada dataframe sampleMetadata <- xdata@phenoData@data rownames(sampleMetadata) <- NULL - colnames(sampleMetadata) <- c("sampleMetadata", "class") + colnames(sampleMetadata) <- c("sample_name", "class") - sampleNamesOrigin <- sampleMetadata$sampleMetadata + sampleNamesOrigin <- sampleMetadata$sample_name sampleNamesMakeNames <- make.names(sampleNamesOrigin) if (any(duplicated(sampleNamesMakeNames))) { @@ -280,7 +283,7 @@ } } - sampleMetadata$sampleMetadata <- sampleNamesMakeNames + sampleMetadata$sample_name <- sampleNamesMakeNames #For each sample file, the following actions are done diff -r fef2dd87fb80 -r af8da7f83ff7 macros_xcms.xml --- a/macros_xcms.xml Thu Oct 04 09:49:15 2018 -0400 +++ b/macros_xcms.xml Fri Nov 09 15:28:19 2018 -0500 @@ -90,9 +90,6 @@ - - - @@ -102,6 +99,20 @@ + + + +
+ + +
+
+ + + + + +