Hello,
Recently, our group has been working on the report builder for a native app. We have used Liquid to access our output files to make tables, but our d3.js code for a bar chart does not work inside the report builder, although this same code works inside Plunker and displays our data.
Currently we have two output files which are generated in folders named by unique .fastqgz input files. For example, a folder called 'truseqI1-8899-Name_S12_L001_R2_001.fastq.gz' contains 'count.tsv' and 'stat.tsv'.
Plunker allows us to use:
d3.tsv("count.tsv", type, function(error, data) { ...
This does not work with the report builder. We have also tried combinations to replace "count.tsv" with and without quotations and {{ }} from Liquid such as:
"{{result.files[key].tsv.parse}}", "{{result.files[key].href}}", "{{
result.name}}/count.tsv", "{{result.samples[key].href}}", "{{result.files[key].content}}"
with the d3.js script after
{% for key in result.files %}
{%if key contains 'count.tsv' %}
How can we modify our report builder code to access our output files and display d3.js charts?
Thanks for your help,
Julie Chow