labelselectfieldInput: The input function of the 'labelselectfield' module

View source: R/labelselectfield.R

labelselectfieldInputR Documentation

The input function of the labelselectfield module

Description

This 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.

Usage

labelselectfieldInput(id, max_items = 1, id_selection = FALSE)

Arguments

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)

Details

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.

Value

output An HTML tag object that can be rendered as HTML using as.character()

Examples

labelselectfieldInput("myid")


pinin4fjords/shinyngs documentation built on Feb. 28, 2024, 10:19 a.m.