tkWidgets (version 1.50.0)

DPExplorer: Functions constuct a widget to explore BioC's data packages

Description

These functions construct a widget that allow users to visually explore a data package of Bioconductor and read selected elements to R

Usage

DPExplorer(pkgName = "", title = "BioC Data Package Explorer", getFocus = TRUE) getTopLevel(title) loadDataPkg(pkgName)

Arguments

pkgName
pkgName a character string for the name of a Bioconductor's data package that has already been loaded
title
title a character string for the title of the widget
getFocus
getFocus a boolean indicating whether a widget should grab the focus

Value

If only one key is selected, DPExplorer returns a vector of one to more elements. If more than one key is selected, loadDataPkg returns a list of vectors.getTopLevel returns a tkwin object for the top level window.loadDataPkg returns a vector of character strings for available data environments.

Details

If pkgName is not provided when DPExplorer is called, an entry box is available for users to put a pkgName in later. In either cases, the data package specified by pkgName should have been loaded.

getTopLevel creates a top level window for the widget.

loadDataPkg filters out valid environment objects from a data package.

References

Documents for a Bioconductor data package

Examples

Run this code
if(interactive() && require("hgu95av2", character.only = TRUE)){
    DPExplorer("hgu95av2")
}

Run the code above in your browser using DataLab