Description Slot overview Supported methods Subclass expectations Author(s) See Also
The RowTable is a virtual class where each row in the SummarizedExperiment is represented by no more than one row in a datatable
widget.
In panels of this class, single and multiple selections can only be transmitted on the features.
No new slots are added. All slots provided in the Table parent class are available.
In the following code snippets, x
is an instance of a RowTable class.
Refer to the documentation for each method for more details on the remaining arguments.
For setting up data values:
.refineParameters(x, se)
replaces NA
values in Selected
with the first row name of se
.
This will also call the equivalent Table method.
For defining the interface:
.hideInterface(x, field)
returns a logical scalar indicating whether the interface element corresponding to field
should be hidden.
This returns TRUE
for column selection parameters ("ColumnSelectionSource"
, "ColumnSelectionType"
and "ColumnSelectionSaved"
),
otherwise it dispatches to the Panel method.
For monitoring reactive expressions:
.createObservers(x, se, input, session, pObjects, rObjects)
sets up observers to propagate changes in the Selected
to linked plots.
This will also call the equivalent Table method.
For controlling selections:
.multiSelectionDimension(x)
returns "row"
to indicate that a row selection is being transmitted.
.singleSelectionDimension(x)
returns "feature"
to indicate that a feature identity is being transmitted.
For rendering output:
.showSelectionDetails(x)
returns a HTML element generated by calling the function registered in iSEEOptions$get("RowTable.select.details")
on x[["Selected"]]
.
If no function is registered, NULL
is returned.
Unless explicitly specialized above, all methods from the parent classes DotPlot and Panel are also available.
Subclasses are expected to implement methods for:
.generateTable
.fullName
.panelColor
The method for .generateTable
should create a tab
data.frame where each row corresponds to a row in the SummarizedExperiment object.
Aaron Lun
Table, for the immediate parent class that contains the actual slot definitions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.