Hi, I have some code that makes a plot and creates a legend from a given column name in the user's input data, which may have arbitrary column names.
I'd like to create a dropdown list that has all the column names in it, but I don't know the names beforehand; I won't know them until the user uploads their data file. So all I can do is have a freeform text box where I ask the user to type a column name, which seems error-prone and ugly.
I notice that the XY plotting tool has something sort of like this, where it can tell how many columns are in your dataset and lets you choose them, but it calls the columns "c1", "c2", etc. My datasets have a header line with column names and I want to show the actual column name, not reference them by column number. Is this possible?
Is there a solution to this? I have a number of use cases like this, so it would be great if there was. Thanks, Dan
So, sounds like maybe this feature does not exist....I'd like to request it (given a dataset, I'd like to be able to show the column headers of that dataset in a select box). Thanks, Dan
On Wed, Aug 29, 2012 at 11:09 AM, Dan Tenenbaum dtenenba@fhcrc.org wrote:
Hi, I have some code that makes a plot and creates a legend from a given column name in the user's input data, which may have arbitrary column names.
I'd like to create a dropdown list that has all the column names in it, but I don't know the names beforehand; I won't know them until the user uploads their data file. So all I can do is have a freeform text box where I ask the user to type a column name, which seems error-prone and ugly.
I notice that the XY plotting tool has something sort of like this, where it can tell how many columns are in your dataset and lets you choose them, but it calls the columns "c1", "c2", etc. My datasets have a header line with column names and I want to show the actual column name, not reference them by column number. Is this possible?
Is there a solution to this? I have a number of use cases like this, so it would be great if there was. Thanks, Dan
On Tue, Sep 4, 2012 at 4:54 PM, Dan Tenenbaum dtenenba@fhcrc.org wrote:
So, sounds like maybe this feature does not exist....I'd like to request it (given a dataset, I'd like to be able to show the column headers of that dataset in a select box). Thanks, Dan
No, it doesn't, but I'd like it too: https://bitbucket.org/galaxy/galaxy-central/issue/554/show-column-names-head...
Peter
On Tue, Sep 4, 2012 at 4:57 PM, Peter Cock p.j.a.cock@googlemail.com wrote:
On Tue, Sep 4, 2012 at 4:54 PM, Dan Tenenbaum dtenenba@fhcrc.org wrote:
So, sounds like maybe this feature does not exist....I'd like to request it (given a dataset, I'd like to be able to show the column headers of that dataset in a select box). Thanks, Dan
No, it doesn't, but I'd like it too: https://bitbucket.org/galaxy/galaxy-central/issue/554/show-column-names-head...
Thanks much.
Strong +1 from me. Dan
Peter
galaxy-dev@lists.galaxyproject.org