Gets or sets the appropriate assay in the SummarizedExperiment object.

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)
#> 1 2 3 4 5 #> 1 -0.77806946 -2.6373530 -2.9594624 NA -4.4268222 #> 2 -0.51990094 0.1937099 -0.9030012 0.4136271 0.8160228 #> 3 -0.08650305 1.8297505 2.0616845 3.4986217 6.2693872 #> 4 -0.87599630 0.1963931 -0.6612986 -0.2820256 1.1446994 #> 5 -1.36953094 -3.0383060 -2.4552312 -4.5735879 -5.1139239 #> 6 -0.04262609 0.1949539 0.3167506 -1.0975095 0.2069291 #> 7 1.12974762 2.7584433 2.5691205 4.5350054 NA
simwei2 <- simwei weitrix_x(simwei2) <- weitrix_x(simwei2) * 2