createES {phantasus} | R Documentation

## Create ExpressionSet.

### Description

`createES` function produces an ExpressionSet object from given data, and exports it to global scope.

### Usage

    createES(data, pData, varLabels, fData, fvarLabels)

### Arguments

`data` | Gene expression matrix.
`pData` | Matrix with phenotypical data.
`varLabels` | Names of phenoData columns.
`fData` | Matrix with feature data.
`fvarLabels` | Names of featureData columns.

### Value

produced ExpressionSet object

### Examples

    ## Not run:
    data <- matrix(1:15, 5, 3)
    pData <- c("A", "B", "C")
    varLabels <- "cat"
    fData <- c("p", "r", "s", "t", "u")
    fvarLabels <- "id"
    createES(data, pData, varLabels, fData, fvarLabels)

    ## End(Not run)

[Package phantasus version 1.0.2 Index]