Mercurial > repos > iuc > ggplot2_heatmap2
changeset 6:566197475670 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit 4f9970932fa3521656d5618582ba5df4173ca66c"
author | iuc |
---|---|
date | Wed, 13 Apr 2022 09:34:26 +0000 |
parents | 3b37b1b1c3a7 |
children | 53460afd5115 |
files | heatmap2.xml test-data/result4.png test-data/result5.png test-data/result6.png |
diffstat | 4 files changed, 30 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/heatmap2.xml Tue Apr 12 15:53:40 2022 +0000 +++ b/heatmap2.xml Wed Apr 13 09:34:26 2022 +0000 @@ -1,9 +1,10 @@ -<tool id="ggplot2_heatmap2" name="heatmap2" version="@VERSION@"> +<tool id="ggplot2_heatmap2" name="heatmap2" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@"> <macros> - <token name="@VERSION@">3.1.1</token> + <token name="@TOOL_VERSION@">3.1.1</token> + <token name="@VERSION_SUFFIX@">1</token> </macros> <requirements> - <requirement type="package" version="@VERSION@">r-gplots</requirement> + <requirement type="package" version="@TOOL_VERSION@">r-gplots</requirement> <requirement type="package" version="1.1_3">r-rcolorbrewer</requirement> </requirements> <command detect_errors="exit_code"><![CDATA[ @@ -41,7 +42,7 @@ #if $zscore_cond.zscore == "rows": linput <- t(apply(linput, 1, scale)) - colnames(linput) <- colnames(input) + colnames(linput) <- colnames(input)[2:ncol(input)] rownames(linput) <- input[,1] scale <- "none" #elif $zscore_cond.zscore == "cols": @@ -278,6 +279,31 @@ <param name="type" value="two"/> <output name="output1" file="result1pearson.pdf" compare="sim_size"/> </test> + <test> + <param name="input1" value="mtcars.txt"/> + <param name="zscore" value="rows"/> + <param name="type" value="three"/> + <param name="image_file_format" value="png"/> + <output name="output1" file="result4.png" compare="sim_size"/> + </test> + <test> + <param name="input1" value="mtcars.txt"/> + <param name="cluster" value="yes"/> + <param name="distance" value="pearson_correlation"/> + <param name="scale" value="row"/> + <param name="type" value="three"/> + <param name="image_file_format" value="png"/> + <output name="output1" file="result5.png" compare="sim_size"/> + </test> + <test> + <param name="input1" value="mtcars.txt"/> + <param name="cluster" value="yes"/> + <param name="distance" value="spearmann_correlation"/> + <param name="scale" value="column"/> + <param name="type" value="three"/> + <param name="image_file_format" value="png"/> + <output name="output1" file="result6.png" compare="sim_size"/> + </test> </tests> <help><![CDATA[ This tool employs the heatmap.2 function from the R gplots package and will generate a heatmap of your data. If clustering is enabled, the heatmap uses the Euclidean distance method and the Complete hierarchical clustering method by default.