counts: Counts

Description Usage Arguments Value Note Examples

Description

Count matrix.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
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 2019-12-04.

Examples

1
2
3
4
5
6
data(RangedSummarizedExperiment, package = "acidtest")

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

acidgenomics/basejump documentation built on Aug. 15, 2020, 10:21 a.m.