rownames {ExperimentSubset}R Documentation

Accessor method for rownames in ExperimentSubset objects

Description

Get rownames from an ExperimentSubset object or a subset in the ExperimentSubset object or any object supported by rownames in base package.

Usage

rownames(object, ...)

## S4 method for signature 'ANY'
rownames(object, subsetName, ...)

Arguments

object

ExperimentSubset Input ExperimentSubset object or any object supported by rownames in base package.

...

Additional parameters and subsetName parameter to pass the name of the subset to get rownames from.

subsetName

character(1) Name of the subset to get rownames from. If missing, rownames from main object are returned.

Value

A vector of rownames.

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")
rownames(es, subsetName = "subset1")

[Package ExperimentSubset version 1.0.0 Index]