MAEFilterStates {teal.slice} | R Documentation |
FilterStates
subclass for MultiAssayExperiment
s
Description
Handles filter states in a MultiAssayExperiment
.
Super class
teal.slice::FilterStates
-> MAEFilterStates
Methods
Public methods
Inherited methods
teal.slice::FilterStates$clear_filter_states()
teal.slice::FilterStates$finalize()
teal.slice::FilterStates$format()
teal.slice::FilterStates$get_call()
teal.slice::FilterStates$get_filter_state()
teal.slice::FilterStates$print()
teal.slice::FilterStates$remove_filter_state()
teal.slice::FilterStates$set_filter_state()
teal.slice::FilterStates$srv_active()
teal.slice::FilterStates$srv_add()
teal.slice::FilterStates$ui_active()
teal.slice::FilterStates$ui_add()
Method new()
Initialize MAEFilterStates
object.
Usage
MAEFilterStates$new( data, data_reactive = function(sid = "") NULL, dataname, datalabel = "subjects", keys = character(0) )
Arguments
data
(
MultiAssayExperiment
) theR
object whichMultiAssayExperiment::subsetByColData
function is applied on.data_reactive
(
function(sid)
) should return aMultiAssayExperiment
object orNULL
. This object is needed for theFilterState
counts being updated on a change in filters. If function returnsNULL
then filtered counts are not shown. Function has to havesid
argument being a character.dataname
(
character(1)
) name of the data used in the subset expression. Passed to the function argument attached to thisFilterStates
.datalabel
(
character(1)
) optional text label.keys
(
character
) key column names.varlabels
(
character
) labels of the variables used in this object.
Method clone()
The objects of this class are cloneable with this method.
Usage
MAEFilterStates$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.