annotate ordinate.xml @ 4:e925f68abf2c draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ampvis2 commit e0ad9ce8f508215ec6af69be2682a0faf38415da
author iuc
date Mon, 10 Nov 2025 12:50:31 +0000
parents 918c4abfacf4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
1 <tool id="ampvis2_ordinate" name="ampvis2 ordination plot" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@" license="MIT">
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
2 <description></description>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
3 <macros>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
4 <import>macros.xml</import>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
5 <xml name="distmeasure_macro">
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
6 <param argument="distmeasure" type="select" label="Distance measure">
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
7 <option value="wunifrac">Weighted UniFrac. Requires a rooted phylogenetic tree.</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
8 <option value="unifrac">Unweighted UniFrac. Requires a phylogenetic tree.</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
9 <option value="jsd">Jensen-Shannon Divergence</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
10 <option value="manhattan">manhattan</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
11 <option value="euclidean">euclidean</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
12 <option value="canberra">canberra</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
13 <option value="bray" selected="true">bray</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
14 <option value="kulczynski">kulczynski</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
15 <option value="jaccard">jaccard</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
16 <option value="gower">gower</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
17 <option value="altGower">altGower</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
18 <option value="morisita">morisita</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
19 <option value="horn">horn</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
20 <option value="mountford">mountford</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
21 <option value="raup">raup</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
22 <option value="binomial">binomial</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
23 <option value="chao">chao</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
24 <option value="cao">cao</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
25 <option value="mahalanobis">mahalanobis</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
26 <option value="clark">Clark</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
27 <option value="chisq">Chi-square</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
28 <option value="chord"> Chord</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
29 <option value="hellinger">Hellinger</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
30 <option value="aitchison">Aitchison</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
31 <option value="robust.aitchison">Robust Aitchison </option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
32 </param>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
33 </xml>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
34 <!-- default is most often hellinger, but for N/MMDS none is suggested -->
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
35 <xml name="transform_macro">
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
36 <param argument="transform" type="select" label="Transforms the abundances before ordination" help="See details in decostand. Using the hellinger transformation is a good choice when performing PCA/RDA as it will produce a more ecologically meaningful result (read about the double-zero problem in Numerical Ecology). When the Hellinger transformation is used with CA/CCA it will help reducing the impact of low abundant species. When performing nMDS or PCoA (aka mMDS) it is not recommended to also use data transformation as this will obscure the chosen distance measure.">
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
37 <option value="none">No transformation</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
38 <option value="total">divide by margin total (total)</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
39 <option value="max">divide by margin maximum (max)</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
40 <option value="freq">divide by margin total and multiply by the number of non-zero items, so that the average of non-zero entries is one (freq)</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
41 <option value="normalize">make margin sum of squares equal to one (normalize)</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
42 <option value="range">standardize values into range 0:1. If all values are constant, they will be transformed to 0. (range)</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
43 <option value="standardize">scale x to zero mean and unit variance (standardize)</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
44 <option value="pa">to presence/absence scale 0/1: absence/presence (pa)</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
45 <option value="chi.square">divide by row sums and square root of column sums, and adjust for square root of matrix total (chi.square)</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
46 <option value="hellinger">square root of method = "total" (hellinger)</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
47 <option value="log">logarithmic transformation (log)</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
48 <option value="sqrt">square root (sqrt)</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
49 </param>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
50 </xml>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
51 <xml name="transform_macro_hellinger">
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
52 <expand macro="transform_macro">
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
53 <option value="hellinger" selected="true">square root of method = "total" (hellinger)</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
54 </expand>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
55 </xml>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
56 <xml name="constrain_macro">
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
57 <expand macro="metadata_select_discrete" argument="constrain" optional="false" multiple="true" label="Constrain analysis by" help="Variable(s) in the metadata for constrained analyses. Multiple variables can be provided, but keep in mind that the more variables selected the more the result will be similar to unconstrained analysis."/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
58 </xml>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
59 </macros>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
60 <expand macro="header"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
61 <command detect_errors="exit_code"><![CDATA[
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
62 Rscript '$rscript'
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
63 ]]></command>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
64 <configfiles>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
65 <configfile name="rscript"><![CDATA[
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
66 #if $type_cond.type in ['RDA', 'CCA'] and $type_cond.constrain
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
67 #set constrain_list='c("' + '", "'.join(str($type_cond.constrain).split(",")) + '")'
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
68 #else
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
69 #set constrain_list='NULL'
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
70 #end if
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
71 library(ampvis2, quietly = TRUE)
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
72 data <- readRDS("$data")
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
73 details <- amp_ordinate(
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
74 data,
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
75 filter_species = $filter_species,
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
76 type = "$type_cond.type",
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
77 #if $type_cond.type in ['MMDS', 'NMDS']
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
78 distmeasure = "$type_cond.distmeasure",
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
79 #end if
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
80 transform = "$type_cond.transform",
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
81 #if $type_cond.type in ['RDA', 'CCA']
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
82 constrain = $constrain_list,
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
83 #end if
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
84 ## x_axis = 1,
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
85 ## y_axis = 2,
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
86 print_caption = $print_caption,
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
87 #if $sample_color_by
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
88 sample_color_by = "$sample_color_by",
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
89 #end if
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
90 ## sample_color_order = NULL,
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
91 #if $sample_shape_by
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
92 sample_shape_by = "$sample_shape_by",
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
93 #end if
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
94 #if $sample_colorframe
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
95 sample_colorframe = "$sample_colorframe",
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
96 #end if
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
97 #if $sample_colorframe_label
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
98 sample_colorframe_label = "$sample_colorframe_label",
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
99 #end if
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
100 ## sample_colorframe_label_size = 3,
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
101 #if $sample_label_by
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
102 sample_label_by = "$sample_label_by",
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
103 #end if
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
104 ## sample_label_size = 4,
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
105 ## sample_label_segment_color = "black",
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
106 ## sample_point_size = 2,
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
107 #if $sample_trajectory
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
108 sample_trajectory = "$sample_trajectory",
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
109 #if $sample_trajectory_group
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
110 sample_trajectory_group = "$sample_trajectory_group",
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
111 #end if
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
112 #end if
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
113 ## sample_plotly = NULL,
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
114 #if $species_plot_cond.species_plot == "TRUE"
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
115 species_plot = $species_plot_cond.species_plot,
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
116 species_nlabels = $species_plot_cond.species_nlabels,
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
117 species_label_taxonomy = "$species_plot_cond.species_label_taxonomy",
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
118 ## species_label_size = 3,
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
119 ## species_label_color = "grey10",
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
120 ## species_rescale = FALSE,
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
121 ## species_point_size = 2,
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
122 ## species_shape = 20,
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
123 ## species_plotly = FALSE,
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
124 #end if
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
125 #if $envfit_factor
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
126 envfit_factor = "$envfit_factor",
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
127 #end if
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
128 #if $envfit_numeric
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
129 envfit_numeric = "$envfit_numeric",
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
130 #end if
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
131 envfit_signif_level = $envfit_signif_level,
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
132 ## envfit_textsize = 3,
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
133 ## envfit_textcolor = "darkred",
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
134 ## envfit_numeric_arrows_scale = 1,
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
135 ## envfit_arrowcolor = "darkred",
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
136 ## envfit_show = TRUE,
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
137 repel_labels = $repel_labels,
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
138 opacity = $opacity,
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
139 tax_empty = "$tax_empty",
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
140 detailed_output = TRUE,
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
141 ## num_threads = 1L,
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
142 )
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
143 plot <- details\$plot
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
144 @OUTPUT_TOKEN@
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
145 ggsave("$screeplot", print(details\$screeplot), device="$output_options.out_format")
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
146 ## TODO output more from model
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
147 ## $model
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
148 ## $dsites
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
149 ## $dspecies
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
150 ## $evf_factor_model
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
151 ## $evf_numeric_modei
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
152 ## #else
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
153 ## write.table(raw, file = "$plot_raw", sep = "\t")
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
154 ## #end if
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
155 ]]></configfile>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
156 </configfiles>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
157 <inputs>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
158 <expand macro="rds_metadata_input_macro"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
159 <param argument="filter_species" type="float" value="0.1" min="0" optional="true" label="Abundance threshold" help="Remove low abundant OTU's across all samples below this threshold in percent. Setting this to 0 may drastically increase computation time."/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
160 <conditional name="type_cond">
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
161 <param argument="type" type="select" label="Ordination method" help="Note that PCoA is not performed by the vegan package, but the pcoa function from the APE package.">
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
162 <option value="PCA">(PCA) Principal Components Analysis</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
163 <option value="RDA">(RDA) Redundancy Analysis (considered the constrained version of PCA)</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
164 <option value="CA">(CC) Correspondence Analysis</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
165 <option value="CCA">(CCA) Canonical Correspondence Analysis (considered the constrained version of CA)</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
166 <option value="DCA">(DCA) Detrended Correspondence Analysis</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
167 <option value="NMDS">(NMDS) non-metric Multidimensional Scaling</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
168 <option value="MMDS">(MMDS) metric Multidimensional Scaling a.k.a Principal Coordinates Analysis (not to be confused with PCA)</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
169 </param>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
170 <when value="PCA">
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
171 <expand macro="transform_macro_hellinger"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
172 </when>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
173 <when value="RDA">
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
174 <expand macro="transform_macro_hellinger"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
175 <expand macro="constrain_macro"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
176 </when>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
177 <when value="CA">
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
178 <expand macro="transform_macro_hellinger"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
179 </when>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
180 <when value="CCA">
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
181 <expand macro="transform_macro_hellinger"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
182 <expand macro="constrain_macro"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
183 </when>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
184 <when value="DCA">
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
185 <expand macro="transform_macro_hellinger"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
186 </when>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
187 <when value="NMDS">
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
188 <expand macro="distmeasure_macro"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
189 <expand macro="transform_macro">
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
190 <option value="none" selected="true">No transformation</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
191 </expand>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
192 </when>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
193 <when value="MMDS">
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
194 <expand macro="distmeasure_macro"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
195 <expand macro="transform_macro">
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
196 <option value="none" selected="true">No transformation</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
197 </expand>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
198 </when>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
199 </conditional>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
200 <param argument="print_caption" type="boolean" truevalue="TRUE" falsevalue="FALSE" label="Auto-generate a figure caption" help="Based on the used arguments. The caption includes a description of how the result has been generated as well as references for the methods used."/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
201 <expand macro="metadata_select" argument="sample_color_by" label="Color sample points by"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
202 <expand macro="metadata_select_discrete" argument="sample_shape_by" label="Shape sample points by"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
203 <expand macro="metadata_select_discrete" argument="sample_colorframe" label="Frame the sample points with a polygon by" help="Split by the variable defined by sample_color_by"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
204 <expand macro="metadata_select" argument="sample_colorframe_label" label="Label Frame by"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
205 <expand macro="metadata_select" argument="sample_label_by" label="Label sample points by"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
206 <expand macro="metadata_select" argument="sample_trajectory" label="Make a trajectory between sample points by"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
207 <expand macro="metadata_select" argument="sample_trajectory_group" label="Make a trajectory between sample points by the sample_trajectory argument, but within individual groups."/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
208
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
209 <conditional name="species_plot_cond">
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
210 <param argument="species_plot" type="select" label="Plot species points">
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
211 <option value="TRUE">Yes</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
212 <option value="FALSE" selected="true">No</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
213 </param>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
214 <when value="TRUE">
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
215 <param argument="species_nlabels" type="integer" value="10" min="1" label="Number of the most extreme species labels to plot" help="Ordered by the sum of the numerical values of the x,y coordinates. Only makes sense with PCA/RDA)."/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
216 <expand macro="taxlevel_macro" argument="species_label_taxonomy" label="Taxonomic level by which to label the species points">
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
217 <option value="Genus" selected="true">Genus</option>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
218 </expand>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
219 <param argument="species_label_size" type="integer" value="3" min="1" label="Size of the species text labels"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
220 </when>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
221 <when value="FALSE"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
222 </conditional>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
223
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
224 <expand macro="metadata_select_discrete" argument="envfit_factor" label="Categorical variables to fit onto the ordination plot"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
225 <expand macro="metadata_select_numeric" argument="envfit_numeric" label="Numerical variables to fit arrows onto the ordination plot." help="The lengths of the arrows are scaled by significance. "/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
226 <param argument="envfit_signif_level" type="float" value="0.005" min="0" max="1" label="Significance threshold" help="For displaying the fitting results"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
227
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
228 <param argument="repel_labels" type="boolean" truevalue="TRUE" falsevalue="FALSE" label="Repel all labels" help="To prevent cluttering of the plot"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
229 <param argument="opacity" type="float" value="0.8" min="0" max="1" label="Opacity of plotted points and colorframe" help="0: invisible, 1: opaque."/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
230 <expand macro="tax_empty_macro"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
231 <expand macro="out_format_macro"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
232 <param name="output_screeplot" type="boolean" checked="false" label="Output screeplot" help="plot of variances against the number of the principal component"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
233 </inputs>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
234 <outputs>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
235 <expand macro="out_macro"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
236 <expand macro="out_macro" name="screeplot" label=": screeplot">
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
237 <filter>output_screeplot</filter>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
238 </expand>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
239 </outputs>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
240 <tests>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
241 <!-- defaults (PCA) -->
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
242 <test expect_num_outputs="2">
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
243 <param name="data" value="AalborgWWTPs.rds" ftype="ampvis2"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
244 <param name="output_screeplot" value="true"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
245 <output name="plot" value="AalborgWWTPs-ordinate.pdf" ftype="pdf" compare="sim_size"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
246 <output name="screeplot" value="AalborgWWTPs-ordinate-screeplot.pdf" ftype="pdf" compare="sim_size"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
247 </test>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
248 <!-- RDA + caption -->
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
249 <test expect_num_outputs="1">
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
250 <param name="data" value="AalborgWWTPs.rds" ftype="ampvis2"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
251 <param name="metadata_list" value="AalborgWWTPs-metadata.list"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
252 <conditional name="type_cond">
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
253 <param name="type" value="RDA"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
254 <param name="distmeasure" value="manhattan"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
255 <param name="transform" value="chi.square"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
256 <param name="constrain" value="Plant"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
257 </conditional>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
258 <output name="plot" value="AalborgWWTPs-ordinate-rda.pdf" ftype="pdf" compare="sim_size"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
259 </test>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
260 <!-- MMDS + unfirac (which requires a tree) -->
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
261 <test expect_num_outputs="1">
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
262 <param name="data" value="AalborgWWTPs-complete.rds" ftype="ampvis2"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
263 <param name="metadata_list" value="AalborgWWTPs-metadata.list"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
264 <conditional name="type_cond">
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
265 <param name="type" value="MMDS"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
266 <param name="distmeasure" value="unifrac"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
267 </conditional>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
268 <output name="plot" value="AalborgWWTPs-ordinate-nmds.pdf" ftype="pdf" compare="sim_size"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
269 </test>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
270 <!-- color, shape and colorframe -->
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
271 <test expect_num_outputs="1">
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
272 <param name="data" value="AalborgWWTPs.rds" ftype="ampvis2"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
273 <param name="metadata_list" value="AalborgWWTPs-metadata.list"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
274 <param name="sample_color_by" value="Year"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
275 <param name="sample_shape_by" value="Plant"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
276 <param name="sample_colorframe" value="Year"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
277 <param name="sample_colorframe_label" value="Year"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
278 <output name="plot" value="AalborgWWTPs-ordinate-color-shape-frame.pdf" ftype="pdf" compare="sim_size"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
279 </test>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
280 <!-- label, trajectory -->
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
281 <test expect_num_outputs="1">
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
282 <param name="data" value="AalborgWWTPs.rds" ftype="ampvis2"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
283 <param name="metadata_list" value="AalborgWWTPs-metadata.list"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
284 <param name="sample_label_by" value="Plant"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
285 <param name="sample_trajectory" value="Year"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
286 <output name="plot" value="AalborgWWTPs-ordinate-label-traj.pdf" ftype="pdf" compare="sim_size"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
287 </test>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
288 <!-- trajectory group -->
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
289 <test expect_num_outputs="1">
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
290 <param name="data" value="AalborgWWTPs.rds" ftype="ampvis2"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
291 <param name="metadata_list" value="AalborgWWTPs-metadata.list"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
292 <param name="sample_trajectory_group" value="Plant"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
293 <output name="plot" value="AalborgWWTPs-ordinate-label-traj-group.pdf" ftype="pdf" compare="sim_size"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
294 </test>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
295 <!-- species plot -->
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
296 <test expect_num_outputs="1">
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
297 <param name="data" value="AalborgWWTPs.rds" ftype="ampvis2"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
298 <param name="metadata_list" value="AalborgWWTPs-metadata.list"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
299 <conditional name="species_plot_cond">
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
300 <param name="species_plot" value="TRUE"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
301 <param name="species_nlabels" value="2"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
302 <param name="species_label_taxonomy" value="Family"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
303 <param name="species_label_size" value="4"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
304 </conditional>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
305 <output name="plot" value="AalborgWWTPs-ordinate-species.pdf" ftype="pdf" compare="sim_size"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
306 </test>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
307 <!-- envfit factor-->
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
308 <test expect_num_outputs="1">
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
309 <param name="data" value="AalborgWWTPs.rds" ftype="ampvis2"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
310 <param name="metadata_list" value="AalborgWWTPs-metadata.list"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
311 <param name="envfit_factor" value="Plant"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
312 <output name="plot" value="AalborgWWTPs-ordinate-envfit-factor.pdf" ftype="pdf" compare="sim_size"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
313 </test>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
314 <!-- envfit numeric-->
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
315 <test expect_num_outputs="1">
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
316 <param name="data" value="AalborgWWTPs.rds" ftype="ampvis2"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
317 <param name="metadata_list" value="AalborgWWTPs-metadata.list"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
318 <param name="envfit_numeric" value="Year"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
319 <output name="plot" value="AalborgWWTPs-ordinate-envfit-num.pdf" ftype="pdf" compare="sim_size"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
320 </test>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
321 </tests>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
322 <help><![CDATA[
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
323 What it does
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
324 ============
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
325
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
326 Generate ordination plots suited for analysis and comparison of microbial communities.
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
327
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
328 The Galaxy tool calls the `amp_ordinate
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
329 <https://kasperskytte.github.io/ampvis2/reference/amp_ordinate.html>`_ function
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
330 of the ampvis2 package, which is a wrapper around the vegan package to generate
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
331 ggplot2 ordination plots.
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
332
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
333 Details
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
334 =======
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
335
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
336 The ``amp_ordinate`` function is primarily based on two packages:
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
337
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
338 1. ``vegan`` package, which performs the actual ordination, and
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
339 2. the ggplot2-package to generate the plot.
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
340
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
341 The function generates an ordination plot by the following process:
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
342
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
343 - Various input argument checks and error messages
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
344 - OTU-table filtering, where low abundant OTU's across all samples are removed (if not **Abundance threshold** (``filter_species``) is set to 0)
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
345 - Data transformation (if not **Transforms the abundances before ordination** (``transform``) is set to "no transformation").
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
346 See details in `decostand <https://rdrr.io/cran/vegan/man/decostand.html>`_
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
347 - Calculate distance matrix based on the chosen distmeasure if the chosen ordination method is PCoA/nMDS/DCA.
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
348 See details in `vegdist <https://rdrr.io/cran/vegan/man/vegdist.html>`_
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
349 - Perform the actual ordination and calculate the axis scores for both samples and species/OTU's
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
350 - Visualise the result with ggplot2 or plotly in various ways defined by the user
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
351
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
352 When the chosen ordination method is an eigenanalysis-based method then the
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
353 relative contribution (eigenvalue) of each axis to the total inertia in the data
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
354 (sum of all eigenvalues, including those of the constrained space) is indicated
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
355 in percent at the axis titles. When one of the constrained ordination methods
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
356 (RDA and CCA) is used then a second value is furthermore shown which then
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
357 indicates the relative contribution of the particular axis to the total
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
358 constrained space only.
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
359
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
360 Input
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
361 =====
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
362
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
363 @HELP_RDS_INPUT@
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
364
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
365 @HELP_METADATA_LIST_INPUT@
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
366
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
367 Output
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
368 ======
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
369
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
370 An ordination plot in the chosen output format.
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
371 ]]></help>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
372 <expand macro="citations"/>
918c4abfacf4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
iuc
parents:
diff changeset
373 </tool>