subsetParent: Subset parent hierarchy retrieval method for ExperimentSubset...

Description Usage Arguments Value Examples

Description

Retrieves a complete subset to parent link from a specified subset.

Usage

1
2
3
4
subsetParent(object, subsetName)

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

Arguments

object

ExperimentSubset Input ExperimentSubset object.

subsetName

character(1) Specify the name of the subset against which the subset to parent link should be retrieved.

Value

A list containing the parent link of the subset.

Examples

1
2
3
4
5
6
7
8
9
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
subsetParent(es, "subset1pAssay")

ExperimentSubset documentation built on Nov. 8, 2020, 5:03 p.m.