comparison 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
comparison
equal deleted inserted replaced
2:034885df9b09 3:09b638ceee45
30 30
31 @READING_MSIDATA_INRAM@ 31 @READING_MSIDATA_INRAM@
32 32
33 ## to make sure that processed files work as well: 33 ## to make sure that processed files work as well:
34 iData(msidata) = iData(msidata)[] 34 iData(msidata) = iData(msidata)[]
35
36 ## remove duplicated coordinates
37 print(paste0(sum(duplicated(coord(msidata))), " duplicated coordinates were removed"))
38 msidata <- msidata[,!duplicated(coord(msidata))]
35 39
36 ## count and print number of NAs, all methods are not compatible with NAs 40 ## count and print number of NAs, all methods are not compatible with NAs
37 print(paste0("Number of NA in dataset: ", sum(is.na(spectra(msidata)[])), " - segmentation does not work with NA values")) 41 print(paste0("Number of NA in dataset: ", sum(is.na(spectra(msidata)[])), " - segmentation does not work with NA values"))
38 42
39 @DATA_PROPERTIES_INRAM@ 43 @DATA_PROPERTIES_INRAM@