mexprs-rep-methods: Accessor

Description Usage Arguments Details Value Author(s) Examples

Description

Matrix safe setter of expression slot

Usage

1
2
3
4
5
6
mexprs(object) <- value

## S4 replacement method for signature 'ExpressionSet,matrix'
mexprs(object) <- value

mexprs(object) <- value

Arguments

object

an ExpressionSet or matrix

value

the value to assign

Details

Set the expression data in an ExpressionSet or just return the given matrix

Value

the expression data

Author(s)

Henning Redestig

Examples

1
2
3
4
5
6
7
data(mix)
test <- mix
mexprs(test) <- exprs(mix) * 0
head(mexprs(test))
test <- exprs(mix)
mexprs(test) <- test * 0
head(mexprs(test))

crmn documentation built on March 26, 2020, 8:35 p.m.