neweS {LMGene} | R Documentation |
This function converts a matrix data and its experimental data into an object of 'exprSet' 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 'exprSet' object to be made |
Must load Biobas 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 'exprSet' class |
David Rocke and Geun-Cheol Lee
http://www.idav.ucdavis.edu/~dmrocke/
#library library(Biobase) library(LMGene) #data data(Smpd) data(vlist) Smpdt<-neweS(Smpd,vlist) data(Smpd0) identical(Smpd0, Smpdt)