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

View source: R/weitrix.R

weitrix_xR Documentation

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

Description

Gets or sets the appropriate assay in the SummarizedExperiment object.

Usage

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

weitrix_x(simwei)

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


pfh/weitrix documentation built on Aug. 29, 2024, 1:46 a.m.