neweS {LMGene} | R Documentation |
This function converts a matrix data and its experimental data into an object of 'ExpressionSet' class.
neweS(mat, vlist, annotat, vlabel = as.list(names(vlist)))
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 |
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
#library library(Biobase) library(LMGene) #data data(sample.mat) data(vlist) Smpdt<-neweS(sample.mat,vlist) data(sample.eS) identical(sample.eS, Smpdt)