neweS {LMGene}R Documentation

Coercing to ExpressionSet function

Description

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

Usage

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

Arguments

mat A matrix data to be converted whose column names must be unique
vlist A list which contains several factors representing the experiment description
annotat An optional character string identifying the type of chips used in the experiment
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://dmrocke.ucdavis.edu/

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.9.1 Index]