subsetSummary: Method for displaying 'child-parent' link structure of...

Description Usage Arguments Value Examples

Description

The function displays the content of an ExperimentSubset object including all available main assays, all subsets and the subset assays inside these subsets. This function also depicts how and in what order the subsets in the object are linked with their parents. Moreover, all supplementary data inside the subsets such as reducedDims and altExps are also displayed against each subset entry.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
subsetSummary(x)

## S4 method for signature 'SubsetRangedSummarizedExperiment'
subsetSummary(x)

## S4 method for signature 'SubsetSingleCellExperiment'
subsetSummary(x)

## S4 method for signature 'SubsetSummarizedExperiment'
subsetSummary(x)

## S4 method for signature 'SubsetSpatialExperiment'
subsetSummary(x)

## S4 method for signature 'SubsetTreeSummarizedExperiment'
subsetSummary(x)

Arguments

x

ExperimentSubset Input ExperimentSubset object.

Value

Prints all the available subset information against the input ExperimentSubset object.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
data(sce_chcl, package = "scds")
es <- ExperimentSubset(sce_chcl)
es <- createSubset(es,
"subset1",
rows = c(10,11,50,56,98,99,102,105,109, 200),
cols = c(20,21,40,45,90,99,100,123,166,299),
parentAssay = "counts")
assay(es, "subset1",
subsetAssayName = "subset1pAssay") <- assay(es, "subset1")[,] + 1
subsetSummary(es)

campbio/ExperimentSubset documentation built on Sept. 10, 2021, 3:09 p.m.