createOmicsExpressionSet {STATegRa} | R Documentation

## createOmicsExpressionSet

### Description

This function allow to the user to create a ExpressionSet object from a matrix representing an omics dataset. It allows to include the experimental design and annotation in the ExpressionSet object.

### Usage

    createOmicsExpressionSet(Data, pData = NULL, pDataDescr = NULL,
      feaData = NULL, feaDataDescr = NULL)

### Arguments

`Data` | Omics data
`pData` | Data associated with the samples/phenotype
`pDataDescr` | Description of the phenotypic data
`feaData` | Data associated with the variables/features annotation
`feaDataDescr` | Description of the feature annotation

### Details

In Data matrix, samples has to be in columns and variables has to be in rows

### Value

ExpressionSet with the data provided

### Author(s)

Patricia Sebastian-Leon

### Examples

    data(STATegRa_S3)
    B1 <- createOmicsExpressionSet(Data=Block1.PCA,pData=ed.PCA,
                                   pDataDescr=c("classname"))
    B2 <- createOmicsExpressionSet(Data=Block2.PCA,pData=ed.PCA,
                                   pDataDescr=c("classname"))

[Package STATegRa version 1.24.0 Index]