inserting .js file for visualization with d3.js
Hi, I'm struggling to insert d3.js graphs in the results of tool created in galaxy but it is not clear how to do that.. I received some precious help for permitting to galaxy not to remove head and css parts.. but can't figure out how to enable galaxy to use the .js files I created for visualizing the data.. What is the best way to do that? .. where do have I do put the .js files and how to call them? Thanks in advance! Lionel
Hi Lionel, One option is to place your js code into the visualization framework as shown here : https://wiki.galaxyproject.org/VisualizationsRegistry Once you have activated the framework, a button will be provided to run your js code on a certain dataset file format / tool output file format. Can you tell me what the output format of your tool is i.e. tabular file? Is you d3 code public? If so could you please share it? I hope this helps a bit. Feel free to ask further questions. Thanks Sam
Hi Sam, thank you very much for your clear answer. My output fil is a csv file. The d3 code is a kind of prototype for now.. but I can share at a later time.. what is the best way for that? Lionel 2014-03-17 17:14 GMT+01:00 sam guerler <aysam.guerler@gmail.com>:
Hi Lionel,
One option is to place your js code into the visualization framework as shown here : https://wiki.galaxyproject.org/VisualizationsRegistry
Once you have activated the framework, a button will be provided to run your js code on a certain dataset file format / tool output file format.
Can you tell me what the output format of your tool is i.e. tabular file? Is you d3 code public? If so could you please share it?
I hope this helps a bit. Feel free to ask further questions.
Thanks Sam
participants (2)
-
Chiron Lionel
-
sam guerler