MatrixFilterStates: 'FilterStates' subclass for matrices

MatrixFilterStatesR Documentation

FilterStates subclass for matrices

Description

Handles filter states in a matrix.

Super class

teal.slice::FilterStates -> MatrixFilterStates

Methods

Public methods

Inherited methods

Method new()

Initialize MatrixFilterStates object.

Usage
MatrixFilterStates$new(
  data,
  data_reactive = function(sid = "") NULL,
  dataname,
  datalabel = NULL
)
Arguments
data

(matrix) the R object which subset function is applied on.

data_reactive

(⁠function(sid)⁠) should return a matrix 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. Should be a name of experiment.


Method clone()

The objects of this class are cloneable with this method.

Usage
MatrixFilterStates$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


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