Learn R Programming

STATegRa (version 1.0.0)

createOmicsExpressionSet: Create an ExpressionSet object since omics dataset.

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
Matrix with omics dataset.
pData
Matrix indicating the phenotype of the samples (columns). rownames(pData)==colnames(exprs)
pDataDescr
Description of the phenotypic data
feaData
Matrix indicating the variables/features annotation
feaDataDescr
Description of the feature annotation

Value

A object of class ExpressionSet

Details

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

Examples

Run this code
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"))

Run the code above in your browser using DataLab