log2cpm: Get/Set log2cpm

log2cpmR Documentation

Get/Set log2cpm

Description

Get / Set log2cpm matrix

Usage

log2cpm(object)

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

log2cpm(object) <- value

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

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

Arguments

object

SummarizedExperiment

value

log2cpm matrix (features x samples)

Value

log2cpm matrix (get) or updated object (set)

Examples

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

bhagwataditya/autonomics documentation built on Dec. 1, 2024, 12:27 a.m.