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

Description Usage Arguments Value Author(s) Examples

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
tpm(object)

tpm(object) <- value

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

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

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

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

Arguments

object

a SCESet object.

value

a matrix of class "numeric"

Value

a matrix of transcripts-per-million data

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)
tpm(example_sceset)

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