subsetNames {ExperimentSubset}R Documentation

Get names of only the subsets in ExperimentSubset objects

Description

Retrieves the names of the available subsets (not the subset assays) in an ExperimentSubset object.

Usage

subsetNames(x)

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

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

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

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

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

Arguments

x

ExperimentSubset Specify the input ES object.

Value

A vector of subset names.

Examples

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")
subsetNames(es)

[Package ExperimentSubset version 1.4.0 Index]