Mercurial > repos > galaxyp > cardinal_segmentations
diff segmentation.xml @ 3:09b638ceee45 draft
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 2c4a1a862900b4efbc30824cbcb798f835b168b2
author | galaxyp |
---|---|
date | Thu, 28 Feb 2019 09:23:26 -0500 |
parents | 034885df9b09 |
children | 9f7d1ec01767 |
line wrap: on
line diff
--- a/segmentation.xml Fri Feb 15 10:16:36 2019 -0500 +++ b/segmentation.xml Thu Feb 28 09:23:26 2019 -0500 @@ -33,6 +33,10 @@ ## to make sure that processed files work as well: iData(msidata) = iData(msidata)[] +## remove duplicated coordinates +print(paste0(sum(duplicated(coord(msidata))), " duplicated coordinates were removed")) +msidata <- msidata[,!duplicated(coord(msidata))] + ## count and print number of NAs, all methods are not compatible with NAs print(paste0("Number of NA in dataset: ", sum(is.na(spectra(msidata)[])), " - segmentation does not work with NA values"))