log2counts: Get/Set log2counts

log2countsR Documentation

Get/Set log2counts

Description

Get / Set log2counts matrix

Usage

log2counts(object)

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

log2counts(object) <- value

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

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

Arguments

object

SummarizedExperiment

value

log2count matrix (features x samples)

Value

log2count matrix (get) or updated object (set)

Examples

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

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