| psmeans {LMGene} | R Documentation |
Converts an ExpressionSet or AffyBatch object with one row of expression data per probeset into an ExpressionSet
or AffyBatch object with one row per probe.
psmeans(eS, ind)
eS |
An |
ind |
A vector used to indicate which probes go into which probesets. |
Each entry of ind corresponds to one probe and tells the number of the probeset it belongs to. See tranestAffyProbeLevel
and sample.ind for examples.
Returns an ExpressionSet or AffyBatch object with the expression matrix rows corresponding to probesets instead of individual
probes. Elements of the returned ExpressionSet or AffyBatch object are means over each probeset.
John Tillinghast
tranestAffyProbeLevel, sample.ind
library(LMGene) library(Biobase) data(sample.eS) data(sample.ind) # glog transform data trs.eS <- transeS (sample.eS, 667, 65) # lowess normalize ntrs.eS <- lnormeS(trs.eS) # take means over probesets genesample.eS<- psmeans (ntrs.eS, sample.ind)