counts: Counts

countsR Documentation

Counts

Description

Count matrix.

Usage

counts(object, ...)

counts(object, ...) <- value

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

## S4 replacement method for signature 'SummarizedExperiment,Matrix'
counts(object) <- value

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

Arguments

object

Object.

value

Value to assign.

...

Additional arguments.

Value

Matrix. Typically matrix or Matrix class.

Note

For a SummarizedExperiment object, "counts" must be explicitly defined in assayNames.

Updated 2022-05-23.

Examples

data(RangedSummarizedExperiment, package = "AcidTest")

## SummarizedExperiment ====
object <- RangedSummarizedExperiment
x <- counts(object)
summary(x)

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