setFilterWidget
sets the filter widget for the current analysis. This is the
function most commonly used.setFilterWidget
sets the filter widget for the current analysis. This is the
function most commonly used.getFilterWidget
retrieve the filter widget for the current analysis.
This is normally used internally, to construct the final response for the analysis.
The AnalysisPageFilterWidget object specifies a "filter widget" to be displayed to the user. This is a grid of colored squares, each of which controls the filtering of a subset of the samples based on the values of a pheno field. This object specifies the dimension of the grid, the colors of the squares, rollovers to appear for each square, and the subset of samples that each square filters.
setFilterWidget(data.field, color, cells, inactive.color = "gray", type = "filter_grid")
getFilterWidget()
new.filter.widget(data.field, color, cells, inactive.color = "gray", type = "filter_grid")
names(color)
or else be NA values. The NA
values will be inactive (no rollover or click listeners).is.na(cells)
). Default: "gray"setFilterWidget
returns the newly set AnalysisPageFilterWidget objectgetFilterWidget
returns the curretn AnalysisPageFilterWidget object,
or NULL if it has not yet been setnew.filter.widget
returns an AnalysisPageFilterWidget
new.filter.widget
is the constructor for this object. This should be used
when constructing an AnalysisPageReponse
explicitly, with the return
value then passed to new.datanode.plot
.