expr_data {CEMiTool} | R Documentation

## Retrieve and set expression attribute

### Description

Retrieve and set expression attribute

### Usage

    expr_data(cem, ...)

    ## S4 method for signature 'CEMiTool'
    expr_data(cem, filtered = TRUE)

    expr_data(cem) <- value

    ## S4 replacement method for signature 'CEMiTool'
    expr_data(cem) <- value

### Arguments

`cem` | Object of class `CEMiTool`
`...` | Optional parameters.
`filtered` | logical. If TRUE retrieves filtered expression data
`value` | Object of class `data.frame` with gene expression data

### Value

Object of class `data.frame` with gene expression data

### Examples

    # Initialize an empty CEMiTool object
    cem <- new_cem()
    # Get example expression data
    data(expr0)
    # Add expression file to CEMiTool object
    expr_data(cem) <- expr0
    # Check expression file
    head(expr_data(cem))

[Package CEMiTool version 1.4.2 Index]