tpm: Get/Set tpm

tpmR Documentation

Get/Set tpm

Description

Get / Set tpm matrix

Usage

tpm(object)

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

tpm(object) <- value

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

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

Arguments

object

SummarizedExperiment

value

tpm matrix (features x samples)

Value

tpm matrix (get) or updated object (set)

Examples

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

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