2021-03-19 21:52:10 +01:00
<tool id= "interactive_tool_simtext_app" name= "SimText" tool_type= "interactive" version= "0.0.2" license= "MIT" >
2021-03-13 10:55:13 +11:00
<description> Interactive shiny app to explore SimText output data</description>
<requirements>
<container type= "docker" > dlalgroup/simtext:2.0</container>
</requirements>
<entry_points>
<entry_point name= "SimText App" requires_domain= "true" >
<port> 8888</port>
</entry_point>
</entry_points>
<command> <![CDATA[
Rscript
'${__tool_directory__}/simtext_app.R'
--input '$input'
--matrix '$matrix'
--host '0.0.0.0'
--port '8888'
]]>
</command>
<inputs>
<param argument= "--input" label= "Input file" name= "input" type= "data" format= "tabular" />
<param argument= "--matrix" label= "Matrix file" name= "matrix" type= "data" format= "tabular" />
</inputs>
<outputs>
<data format= "tabular" name= "output" />
</outputs>
<tests> <!-- cannot test interactive tools yet
<test>
<param name="input" value="test_data" ftype="tabular"/>
<param name="matrix" value="text_to_wordmatrix_output"/>
</test>-->
</tests>
<help> <![CDATA[
2021-03-19 21:52:10 +01:00
2021-03-13 10:55:13 +11:00
**What it does**
2021-03-19 21:52:10 +01:00
The tool enables the exploration of data generated by ‘ text_to_wordmatrix’ or ‘ pmids_to_pubtator_matrix’ tools in a Shiny local instance.
The following features can be generated: 1) word clouds for each initial search query, 2) dimension reduction and hierarchical clustering of
binary matrices, and 3) tables with words and their frequency in the search queries.
2021-03-13 10:55:13 +11:00
-----
**How it works**
- Input 1, a table with:
- A column with initial search queries starting with "ID\_" (e.g., "ID_gene" if initial search queries were genes).
- Column(s) with grouping factor(s) to compare pre-existing categories of the initial search queries with the grouping based on text. The column names should start with "GROUPING\_". If the column name is "GROUPING_disorder", "disorder" will be shown as a grouping variable in the app.
| ID_gene | GROUPING_disorder
| SCN1A | epilepsy
| ANKRD11 | autism
- Input 2:
- The output of 'text_to_wordmatrix' or 'pmids_to_pubtator_matrix' tools, or a binary matrix.
| scn8a | neuro | patient | spectrum | brain | grin2a
| 1 | 1 | 1 | 0 | 1 | 1
| 0 | 1 | 0 | 1 | 1 | 0
]]> </help>
<citations>
2021-03-19 21:52:10 +01:00
<citation type= "doi" > 10.1101/2020.07.06.190629</citation>
2021-03-13 10:55:13 +11:00
</citations>
2021-03-19 09:05:33 +01:00
</tool>