comparison macros.xml @ 5:adf75bf963f7 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
author iuc
date Fri, 16 Aug 2024 09:02:57 +0000
parents e2df49914652
children cf579d6919e8
comparison
equal deleted inserted replaced
4:e2df49914652 5:adf75bf963f7
1 <macros> 1 <macros>
2 <token name="@TOOL_VERSION@">2.8.6</token> 2 <token name="@TOOL_VERSION@">2.8.6</token>
3 <token name="@VERSION_SUFFIX@">1</token> 3 <token name="@VERSION_SUFFIX@">2</token>
4 <token name="@PROFILE@">22.01</token> 4 <token name="@PROFILE@">22.01</token>
5 <xml name="header"> 5 <xml name="header">
6 <xrefs> 6 <xrefs>
7 <xref type="bio.tools">ampvis</xref> 7 <xref type="bio.tools">ampvis</xref>
8 </xrefs> 8 </xrefs>
42 } 42 }
43 ]]></token> 43 ]]></token>
44 44
45 <token name="@SAVE_METADATA_LIST@"><![CDATA[ 45 <token name="@SAVE_METADATA_LIST@"><![CDATA[
46 classes <- sapply(data\$metadata, class) 46 classes <- sapply(data\$metadata, class)
47 data\$metadata[is.na(data\$metadata)] <- "NA" ##the comparison below fails if NA values are present, see https://stackoverflow.com/questions/7355187/error-in-if-while-condition-missing-value-where-true-false-needed
47 for(name in names(data\$metadata)){ 48 for(name in names(data\$metadata)){
48 ## check if it is the column containing the sample names 49 ## check if it is the column containing the sample names
49 ## the additional column in the ist file can the be used 50 ## the additional column in the ist file can the be used
50 ## to filter SampleIDs from select inputs 51 ## to filter SampleIDs from select inputs
51 ## (check for character columns only .. since data in the column is otherwise converted to the corresponding type .. which fails) 52 ## (check for character columns only .. since data in the column is otherwise converted to the corresponding type .. which fails)