neweS {LMGene} | R Documentation |
This function converts a matrix data and its experimental data into an object of 'ExpressionSet' class.
neweS(mat, vlist, vlabel = as.list(names(vlist)))
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. |
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
.
eset |
The converted object of 'ExpressionSet' class. |
David Rocke and Geun-Cheol Lee
http://www.idav.ucdavis.edu/~dmrocke/
#library library(Biobase) library(LMGene) #data data(sample.mat) data(vlist) Smpdt <- neweS(sample.mat,vlist) data(sample.eS) identical(sample.eS, Smpdt)