Hi,
I am working on a tool that allows to filter on a selected set of contrasts. The contrast names are read from the second column of a history item. In order to allow selection of individual filters for each contrast, I am using the <repeat> tag. Now I would like to make sure that the user selects each contrast at max one time. Can I use the <filter ...> to remove the contrasts that have already been chosen from the selection? Or is there a more elegant way?
<repeat name="contrasts" title="Contrast" min="1" max="3"> <param name="contrast" type="select" label="Contrast to filter on" multiple="false"> <options from_dataset="edgercont"> <column name="name" index="1"/> <column name="value" index="1"/> </options> </param> <param name="lfc" type="float" label="Linear fold-change" value="2.0" /> <param name="pval" type="float" label="p-value cutoff" value="0.001" /> </repeat>
Thanks for your help in advance
Tim
On Wed, Jul 10, 2013 at 11:23 AM, Tim-Christoph Roloff tim.roloff@fmi.ch wrote:
Hi,
I am working on a tool that allows to filter on a selected set of contrasts. The contrast names are read from the second column of a history item. In order to allow selection of individual filters for each contrast, I am using the <repeat> tag. Now I would like to make sure that the user selects each contrast at max one time. Can I use the <filter ...> to remove the contrasts that have already been chosen from the selection? Or is there a more elegant way?
<repeat name="contrasts" title="Contrast" min="1" max="3"> <param name="contrast" type="select" label="Contrast to filter on" multiple="false"> <options from_dataset="edgercont"> <column name="name" index="1"/> <column name="value" index="1"/> </options> </param> <param name="lfc" type="float" label="Linear fold-change" value="2.0" /> <param name="pval" type="float" label="p-value cutoff" value="0.001" /> </repeat>
Thanks for your help in advance
Tim
Would a multi-select column picker work instead? Note that would not give you any control of the order of the selected rows.
Peter
Hi Peter,
I thought about that but the user is expected to choose individual fold-change and p-value for each of the selected contrasts. I currently don't see how I would be able to connect the selected items in the multi-select column picker with these values. Any suggestions on that?
Thanks
Tim
On 07/10/2013 12:30 PM, Peter Cock wrote:
On Wed, Jul 10, 2013 at 11:23 AM, Tim-Christoph Roloff tim.roloff@fmi.ch wrote:
Hi,
I am working on a tool that allows to filter on a selected set of contrasts. The contrast names are read from the second column of a history item. In order to allow selection of individual filters for each contrast, I am using the <repeat> tag. Now I would like to make sure that the user selects each contrast at max one time. Can I use the <filter ...> to remove the contrasts that have already been chosen from the selection? Or is there a more elegant way?
<repeat name="contrasts" title="Contrast" min="1" max="3"> <param name="contrast" type="select" label="Contrast to filter on" multiple="false"> <options from_dataset="edgercont"> <column name="name" index="1"/> <column name="value" index="1"/> </options> </param> <param name="lfc" type="float" label="Linear fold-change" value="2.0" /> <param name="pval" type="float" label="p-value cutoff" value="0.001" /> </repeat>
Thanks for your help in advance
Tim
Would a multi-select column picker work instead? Note that would not give you any control of the order of the selected rows.
Peter
On Wed, Jul 10, 2013 at 12:39 PM, Tim-Christoph Roloff tim.roloff@fmi.ch wrote:
Hi Peter,
I thought about that but the user is expected to choose individual fold-change and p-value for each of the selected contrasts. I currently don't see how I would be able to connect the selected items in the multi-select column picker with these values. Any suggestions on that?
Thanks
Tim
I see what you mean - the repeat block does seem the best bet in that case.
Peter
galaxy-dev@lists.galaxyproject.org