| subExprSet {gtkWidgets} | R Documentation |
This widget contains manus that can be activated to import and/or manipulate an experSet object
subExprSet(eset)
eset |
eset an object of the class experSet |
The argument eset is optional. If eset is missing, the widget
only contains a menubar with menuitems. If an eset object is passed as
the argument, the widget will also contain a dropdown list populated with
names of the covariates of the phenoData slot, a table showing the
sample names of the phenoData and values for the covariate that is
currently selected in the drowdown list, and check buttons for users
to click to select/deselect samples. All the samples are selected by
default.
All the samples are selected by default. Clicking the check button will deselect the corresponding sample. When any value of a covariate is clicked, all samples that have the sample value as the one that is clicked will be selected and the rest will be deselected.
The widget returns a name vector of booleans. Names of the vector are sample names. Selected samples are TRUE.
Jianhua Zhang
Documentions for exprSet objects
if(interactive()){
require("Biobase") || stop("Biobase unavailable")
require("gtkWidgets") || stop("gtkWidgets unavailable")
data(geneData)
data(geneCov)
covdesc<- list("Covariate 1", "Covariate 2", "Covariate 3")
names(covdesc) <- names(geneCov)
pdata <- new("phenoData", pData=geneCov, varLabels=covdesc)
eset <- new("exprSet", exprs=geneData, phenoData=pdata)
# No argument passed. Use menu to import an exprSet object
subExprSet()
}