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, filter = TRUE, apply_vst = FALSE, filter_pval = 0.1, ...)

    expr_data(cem) <- value

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

### Arguments

`cem` | Object of class `CEMiTool`
`...` | Additional parameters to `filter_genes` or `select_genes` functions.
`filter` | logical. If TRUE, retrieves filtered expression data (Default: TRUE)
`apply_vst` | logical. If TRUE, applies variance stabilizing transformation to expression data (Default: FALSE)
`filter_pval` | logical. Threshold for filter p-value. Ignored if filter = FALSE (Default: 0.1)
`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.18.1 Index]