cpm: Get/Set cpm

cpmR Documentation

Get/Set cpm

Description

Get / Set cpm matrix

Usage

cpm(object)

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

cpm(object) <- value

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

## S4 replacement method for signature 'SummarizedExperiment,numeric'
cpm(object) <- value

Arguments

object

SummarizedExperiment

value

cpm matrix (features x samples)

Value

cpm matrix (get) or updated object (set)

Examples

file <- system.file('extdata/billing19.rnacounts.txt', package = 'autonomics')
object <- read_rnaseq_counts(file)
cpm(object)[1:3, 1:3]
cpm(object) <- values(object)

bhagwataditya/importomics documentation built on Oct. 29, 2024, 3:19 p.m.