weitrix_x: Get or set a weitrix object's "x" matrix

Description Usage Arguments Value Examples

View source: R/weitrix.R

Description

Gets or sets the appropriate assay in the SummarizedExperiment object.

Usage

1
2
3
weitrix_x(weitrix)

weitrix_x(x) <- value

Arguments

weitrix

A weitrix object.

x

The weitrix to modify.

value

The new matrix.

Value

A matrix-like object such as a matrix or a DelayedArray.

Examples

1
2
3
4
weitrix_x(simwei)

simwei2 <- simwei
weitrix_x(simwei2) <- weitrix_x(simwei2) * 2

weitrix documentation built on Nov. 8, 2020, 8:10 p.m.