MAEFilterStates: 'FilterStates' subclass for 'MultiAssayExperiment's

MAEFilterStatesR Documentation

FilterStates subclass for MultiAssayExperiments

Description

Handles filter states in a MultiAssayExperiment.

Super class

teal.slice::FilterStates -> MAEFilterStates

Methods

Public methods

Inherited methods

Method new()

Initialize MAEFilterStates object.

Usage
MAEFilterStates$new(
  data,
  data_reactive = function(sid = "") NULL,
  dataname,
  datalabel = "subjects",
  keys = character(0)
)
Arguments
data

(MultiAssayExperiment) the R object which MultiAssayExperiment::subsetByColData function is applied on.

data_reactive

(⁠function(sid)⁠) should return a MultiAssayExperiment object or NULL. This object is needed for the FilterState counts being updated on a change in filters. If function returns NULL then filtered counts are not shown. Function has to have sid argument being a character.

dataname

(character(1)) name of the data used in the subset expression. Passed to the function argument attached to this FilterStates.

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.


teal.slice documentation built on May 29, 2024, 1:39 a.m.