neweS {LMGene}R Documentation

Coercing to an ExpressionSet code

Description

This function converts a matrix data and its experimental data into an object of 'ExpressionSet' class.

Usage

neweS(mat, vlist, vlabel = as.list(names(vlist)))

Arguments

mat A matrix data to be converted.
vlist A list which contains several factors representing the experiment description.
vlabel A list of labels for the variables represented by the columns of pData of the 'ExpressionSet' object to be made.

Details

Must load Biobase package first for converting.
vlist contains all the considered factors in which level values of each element represent the corresponding column of mat.

Value

eset The converted object of 'ExpressionSet' class.

Author(s)

David Rocke and Geun-Cheol Lee

References

http://www.idav.ucdavis.edu/~dmrocke/

See Also

as

Examples

#library
library(Biobase)
library(LMGene)

#data
data(sample.mat)
data(vlist)

Smpdt <- neweS(sample.mat,vlist)

data(sample.eS)
identical(sample.eS, Smpdt)

[Package LMGene version 1.12.0 Index]