Description Usage Arguments Details Value Author(s) Examples
Build a file upload AnalysisPageParam
1 | file.param(..., template.uri = NULL, dependent.params = NULL)
|
... |
Pass through to |
template.uri |
URI, possibly with :-prefixed parameter names. For example "/get?x=:x;y=:y" has parameters "x" and "y". (See |
dependent.params |
A character vector whose names are parameters from the uri, and whose values are the names of other form elements. Error to provide this without providing template.uri |
Build a file upload AnalysisPageParam
. This is rendered as a file upload element, to be uploaded along with the submission.
(Currently there is no server-side mechanism for storing uploaded files, so asynchronous upload is not possible.)
The description field should describe what type of file is expected.
On the server side your handler will get a list with "name", "tmp_name" elements giving the filename, and path to a local file (usually in /tmp)
An AnalysisPageParam
Brad Friedman
1 | cov.param <- file.param("cov", label="Covariate Data", description="A two-column Excel file, first column being the sample ID (SAMID) and second being covariate data (with the name of the variable in the header)")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.