ExperimentSubset: ExperimentSubset constructor

Description Usage Arguments Value Examples

View source: R/ExperimentSubset.R

Description

This constructor function is used to setup the ExperimentSubset object by passing either a SingleCellExperiment or SummarizedExperiment objects or objects inherited by these classes. A subset can also be directly created by passing a named list to the subset parameter. This named list should have parameter values named as subsetName, rows, cols and parentAssay.

Usage

1
2
3
4
ExperimentSubset(
  object,
  subset = list(subsetName = NA, rows = NA, cols = NA, parentAssay = NA)
)

Arguments

object

SingleCellExperiment or SummarizedExperiment Specify the root object.

subset

list Specify if a subset should be created from within the constructor. Named parameters in this list should be subsetName, rows, cols and parentAssay.

Value

A ExperimentSubset object.

Examples

1
2
3
data(sce_chcl, package = "scds")
es <- ExperimentSubset(sce_chcl)
es

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