Creates a download handler that can be inserted into an app and used to download AmyloGraph data in various formats.

table_download_handler(input, table_data, write_function, extension)

Arguments

input

[reactivevalues()]
An input object of the app or a module that contains the table.

table_data

[data.frame()]
AmyloGraph table data.

write_function

[function(1)]
A function that transforms table data to a file.

extension

[character(1)]
File extension without a dot to append to filename (e.g. "csv").

Value

A downloadHandler object.