#values are not important, only the row names are used
dat <- matrix(0,100,10)
rownames(dat) <- paste("gene",1:100,sep="")
geneSets <- list(
gs1 = paste("GENE",1:20,sep=""),# all genes in the analyzed data
gs2 = paste("Gene",101:110,sep=""),#no gene in the analyzed data
gs3 = paste("gene",90:110,sep="")#some genes in the analyzed data
)
newGeneSets <- preprocessGs(dat = dat, geneSets = geneSets)
Run the code above in your browser using DataLab