tpm: Transcripts per million

tpmR Documentation

Transcripts per million

Description

Transcripts per million

Usage

tpm(object, ...)

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

Arguments

object

Object.

...

Additional arguments.

Details

Both gene- and transcript-level counts are supported, as long as they were imported using a tximport caller (e.g. salmon, kallisto).

Value

matrix.

Note

Updated 2021-02-03.

Examples

se <- SummarizedExperiment::SummarizedExperiment(
    assays = list(
        tpm = matrix(
            data = seq_len(4L),
            nrow = 2L,
            ncol = 2L,
            byrow = TRUE
        )
    )
)
x <- tpm(se)
class(x)

acidgenomics/r-acidexperiment documentation built on Jan. 17, 2024, 7:56 p.m.