cpm: Accessors for the 'cpm' (counts per million) element of an...

Description Usage Arguments Value Author(s) Examples

Description

The cpm element of the arrayData slot in an SCESet object holds a matrix containing counts-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
cpm(object)

cpm(object) <- value

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

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

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

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

Arguments

object

a SCESet object.

value

a matrix of class "numeric"

Value

a matrix of counts-per-million 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)
cpm(example_sceset)[1:10, 1:6]

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