Description Usage Arguments Value See Also Examples
View source: R/mod_network_plot.R
Subject-level network diagram: Server
1 2 3 4 5 6 7 8 9 10 11 | network_plot(
input,
output,
session,
network_data,
highlighted_codes,
snp_filter,
viz_type = "free",
update_freq = 15,
action_object
)
|
input, output, session |
Auto-filled by callModule | ignore |
network_data |
Reactive object containing individual network data as
generated by |
highlighted_codes |
Reactive object containing list with |
snp_filter |
Reactive object containing boolean containing info on if we've filtered by snp or not. |
viz_type |
Character string containing info on which type of network we
want to draw. "bipartite" for a plot that puts one node type on either
size, or free for a traditional force directed layout. Defaults to
|
update_freq |
How many iterations of the layout simulation are run
between redrawing the viz. Set to lower value for a smoother animation,
higher for better performance. Default is |
action_object |
A |
Server component of interactive network plot. Returns type-payload
list with the type "isolation, deletion, snp_filtering"
to the
passed action_object
for updating app state.
1 | callModule(info_panel, 'info_panel', snp_name, individual_data, subset_maf)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.