Closed GoogleCodeExporter closed 9 years ago
The problem with that is that we would have to send something from connected
widgets
as to what the user should be looking for on the web. Like a template URL that
can
be sent with meta-data. Could there be functionality to go to the web for more
than
one thing per row (gene name if one column clicked, gene sequence if another).
We
could get the url from an attached dict (optional of course) that would specify
an
action for each column when clicked and input data from the row.
Not sure how this would work with controlling outputs as in sigPath. I'm
almost
tempted to make that a thing that each widget author codes for the widget and
just
make it an internal attribute. I think dataTable should simply show data and
some
graphical info about distributions and other things. If we try to make it too
complicated we'll just run into more problems.
Original comment by kylecovi...@gmail.com
on 16 Sep 2009 at 2:00
I am imagining on the left panel the ability to add a template url and a column
number.
So for any dataTable the user can link it to online re-sources if they know how.
If had loading some dicty data with gene ids in the first column. I add a url
in a lineedit
http://dictybase.org/gene/{ID}
and select column one as the source for {ID}
Now a simple dataTable with a rowselect model is able to link out to
dictybase.org
DataTable can also populate this linking information from the received signal.
input:
{
data:RDataFrame,
geneInfo:
{
templateURL: http://dictybase.org/gene/{ID}
columnID: columnName
}
sequenceInfo:
{
templateURL: ....
columnID: ...
}
}
Receiving this signal will automatically populate the left panel GUI. The user
can activate/deactivate
the linking with a checkbox.
Connecting widgets such as sigPathway would have to send the proper dict. The
top panel of sigPathway
would become similar to the panel in RgeneEnrichment. Users can select one or
more pathways and the
genes from those pathways are sent forward with the proper url info.
Original comment by anup.parikh
on 16 Sep 2009 at 2:52
dataTable uses a special OW class for accessing and specifying the table
structure.
I have modified dataEntry to be similar to dataTable and it now shows data that
is
connected to it. Best bet is just to modify dataTable to link to the web and
not to
send anything forward.
We could add functionality to write the data to a file also
I'll do both of these things and update later today or tomorrow.
Original comment by kylecovi...@gmail.com
on 27 Sep 2009 at 2:13
now accepts a dict element 'link' that should be a list of three elements, the
first
is infromation that should be prepended to the table data, the second is
infromation
that should be appended to the table data and the third is the column number of
the
data that should be sent with the http call. All of these things go into a
shell
exec to open a file or webpage with the prepend+table data+append infromation.
Will also allow one to write the table to a file of the users choosing.
Original comment by kylecovi...@gmail.com
on 28 Sep 2009 at 8:09
Original issue reported on code.google.com by
anup.parikh
on 16 Sep 2009 at 2:14