Learn R Programming

scater (version 1.0.4)

tpm: Accessors for the 'tpm' (transcripts per million) element of an SCESet object.

Description

The tpm element of the arrayData slot in an SCESet object holds a matrix containing transcripts-per-million values. It has the same dimensions as the 'exprs' and 'counts' elements, which hold the transformed expression data and count data, respectively.

Usage

tpm(object)
tpm(object) <- value
"tpm"(object)
"tpm"(object)<-value
"tpm"(object)
"tpm"(object) <- value

Arguments

object
a SCESet object.
value
a matrix of class "numeric"

Value

a matrix of transcripts-per-million data

Examples

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

Run the code above in your browser using DataLab