Learn R Programming

scater (version 1.0.4)

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

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

"counts"(object)
"counts"(object)<-value
"counts"(object)
"counts"(object) <- value

Arguments

object
a SCESet object.
value
an integer matrix

Examples

Run this code
data("sc_example_counts")
data("sc_example_cell_info")
example_sceset <- newSCESet(countData = sc_example_counts)
counts(example_sceset)

Run the code above in your browser using DataLab