subsetAssayCount: Count method for subset assays in ExperimentSubset objects

Description Usage Arguments Value Examples

Description

Get the count of the total available subsets and the subset assays inside these subsets in an ExperimentSubset object.

Usage

1
2
3
4
subsetAssayCount(object)

## S4 method for signature 'ExperimentSubset'
subsetAssayCount(object)

Arguments

object

ExperimentSubset Input ExperimentSubset object.

Value

A numeric value representing the sum of the subset count and subset assay count.

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
subsetAssayCount(es)

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