Skip to content
Prev 5136 / 21312 Next

[Bioc-devel] [devteam-bioc] problem w/ "exprs<-" method and LumiBatch objects

hi Martin,

along the lines of the situation that Kasper describes, my use case is 
that GSVA transforms a matrix of expression values of genes-by-samples 
into a matrix of summary expression values of pathways-by-samples. When 
the input is an 'ExpressionSet' object, GSVA simply does something like 
this (sketched):

pwysbysamplesmatrix <- gsva(exprs(inputGeneExpressionSet), geneSets)

outputPwyEset <- inputGeneExpressionEset
exprs(outputPwyEset) <- pwysbysamplesmatrix
annotation(outputPwyEset) <- ""

so the first dimension of the ExpressionSet object is reduced from tens 
of thousands of genes to hundreds or thousands of pathways (=gene sets).

i thought this was a valid way to do it, let me know what should be the 
correct route.

robert.
On 01/10/2014 03:59 PM, Kasper Daniel Hansen wrote: