FeatureSetTable-class: Feature set table

Description Slot overview Constructor Supported methods Author(s) Examples

Description

A table where each row is itself a feature set and can be clicked to transmit a multiple feature selection to another panel.

Slot overview

The following slots control the feature sets in use:

The following slots control the selections:

In addition, this class inherits all slots from its parent Panel class.

Constructor

FeatureSetTable(...) creates an instance of a FeatureSetTable class, where any slot and its value can be passed to ... as a named argument.

Initial values for CreateCollections and RetrieveSet are taken from the fields of the same name in the output of getFeatureSetCommands. If these fields are also NULL, we fall back to the output of createGeneSetCommands with default parameters. These parameters are considered to be global constants and cannot be changed inside the running iSEE application. Similarly, it is not possible for multiple FeatureSetTables in the same application to have different values for these slots; within the app, all values are set to those of the first encountered FeatureSetTable to ensure consistency.

Supported methods

In the following code snippets, x is an instance of a FeatureSetTable class. Refer to the documentation for each method for more details on the remaining arguments.

For setting up data values:

For defining the interface:

For monitoring reactive expressions:

For creating the table:

For controlling the multiple selections:

For documentation:

Author(s)

Aaron Lun

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
library(scRNAseq)
sce <- LunSpikeInData(location=FALSE)

library(scater)
sce <- logNormCounts(sce)

library(scran)
rowData(sce) <- cbind(rowData(sce), modelGeneVarWithSpikes(sce, "ERCC"))

cmds <- createGeneSetCommands(collections="GO",
    organism="org.Mm.eg.db", identifier="ENSEMBL")
setFeatureSetCommands(cmds)
gst <- FeatureSetTable(PanelId=1L)

rdp <- RowDataPlot(RowSelectionSource="FeatureSetTable1",
    SelectionEffect="Color",
    XAxis="Row data", XAxisRowData="mean", YAxis="total")

rdt <- RowDataTable(RowSelectionSource="FeatureSetTable1")

if (interactive()) {
    iSEE(sce, initial=list(gst, rdp, rdt))
}

iSEEu documentation built on Nov. 8, 2020, 8:12 p.m.