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 <- download_data('billing19.rnacounts.txt')
object <- read_rnaseq_counts(file, plot=FALSE)
cpm(object) <- values(object)
cpm(object)[1:3, 1:3]

bhagwataditya/importomics documentation built on April 15, 2024, 4:12 p.m.