counts: Accessors for the 'counts' element of an SCESet object.

Description Usage Arguments Value Author(s) Examples

Description

The counts element holds the count data as a matrix of non-negative integer count values, one row for each feature (gene, exon, region, etc), and one column for each cell. It is an element of the assayData slot of the SCESet object.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## S4 method for signature 'SCESet'
counts(object)

## S4 replacement method for signature 'SCESet,matrix'
counts(object)<-value

## S4 method for signature 'SCESet'
counts(object)

## S4 replacement method for signature 'SCESet,matrix'
counts(object) <- value

Arguments

object

a SCESet object.

value

an integer matrix

Value

A matrix of count values.

Author(s)

Davis McCarthy

Examples

1
2
3
4
data("sc_example_counts")
data("sc_example_cell_info")
example_sceset <- newSCESet(countData = sc_example_counts)
counts(example_sceset)

dynverse/scaterlegacy documentation built on Feb. 17, 2020, 5:07 a.m.