output_geneviewer()
Create a chart output in the UI, R's GC_chartOutput().
Draw the chart in the server with render_geneviewer, under the same id. A fixed pixel width set by GC(width=) or .grid(width=) takes precedence over the output's width; put the output in a container with overflow-x: auto to scroll a chart wider than the page.
Usage
python
from geneviewer.shiny import output_geneviewer
output_geneviewer(id, width='100%', height='400px')Arguments
| Argument | Type | Description |
|---|---|---|
id | str | The output id. |
width, height | str or float | The size of the output, as CSS ("100%", "400px", "auto"), or a number of pixels. |
Value
htmltools.Tag: The output, with the library's JavaScript and styles.
