View source: R/labelselectfield.R
labelselectfieldInput | R Documentation |
labelselectfield
moduleThis module provides an input which allows filtering on the basis of data in
the metadata slot of an ExploratorySummarizedExperiment
. It will only
be called by other modules requiring that input.
labelselectfieldInput(id, max_items = 1, id_selection = FALSE)
id |
Submodule namespace |
max_items |
Maximum number of items that can be selected |
id_selection |
Allow users to pick specific ID from those that relate to the specified label? (default: FALSE) |
Where metadata is present, the user can select which field to select on, and the value of that field (populated conditionall on field selction). If specified, checkboxes are provided to allow selection of specific row IDs.
A selectizeInput
is used for performance reasons,
providing an autocomplete field for selecting from a list that could stretch
to thousands of entries. This would be difficult to do client-side using a
standard select field.
output An HTML tag object that can be rendered as HTML using as.character()
labelselectfieldInput("myid")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.