pickItems {tkWidgets}R Documentation

Function that builds a widget to allow users to select items from available sources

Description

Given a vector of characters, this function creates a widget containing list box to allow users to visually select elements from the vector.

Usage

pickItems(items, title1 = "Items to pick", title2 = "Picked items")

Arguments

items items a vector for the available source elements to be selected
title1 title1 a character string for the title of the list box that shows the list of items to be selected from
title2 title2 a character string for the title of the list box that shows the items that have been selected

Details

This function is to provide visual support to other functions and thus may not have much use otherwise.

Value

This function returns a vector of select items.

Note

This function is part of the Bioconductor project at Dana-Farber Cancer Institute to provide Bioinformatics functionalities through R

Author(s)

Jianhua Zhang

References

R tcltk

See Also

dataViewer

Examples

options <- paste("Option", 1:10, sep = "")
if(interactive()){
    pickItems(options)
}

[Package tkWidgets version 1.8.0 Index]