[BioC] From eSet to AffyBatch Object

Martin Morgan mtmorgan at fhcrc.org
Tue Mar 3 06:48:13 CET 2009


Hi Boris --

Boris Umylny <umylny at apbri.org> writes:

> Hi,
>
> I am working with affy library from Bioconductor 2.3.
>
> The library contains functions (hist, image and boxplot) that work directly on 
> AffyBatch object, but apparently not on ExpressionSet/eSet object.  After I 
> use rma, expresso or mas5 to do background correction and normalization I get 
> an eSet object, which appears to be incompatible with these functions.  If I 
> call hist(exprs(e)), where e is an ExpressionSet object, I get a plot of the 
> first array only. 
>
> Is there a Bioconductor library (other than geneplotter which apparently does 
> not) that provides these functions on eSet/ExpressionSet object?

Others will probably point to specific packages implementing plotting
methods for expression data, but I find myself doing things more
directly, typically using the lattice package

  library(lattice)
  library(Biobase)
  data(sample.ExpressionSet)
  eset <- sample.ExpressionSet   # easier to type!
  df <- data.frame(Expression=as.vector(exprs(eset)),
                   Sample=sampleNames(eset)[col(eset)])
  densityplot(~log2(Expression)|Sample, df, plot.points=FALSE)

or

  densityplot(~log2(Expression), group=Sample, df, plot.points=FALSE)

> Is there a way to get an AffyBatch object from eSet object to make use of 
> these functions?

An AffyBatch and an ExpressionSet are conceptually different ('raw'
vs. preprocessed data) so trying to convert back and forth at will
doesn't really make sense.

Martin

> Thank you in advance for your help.
>
>
> Sincerely,
>
>
> Boris Umylny
>
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor

-- 
Martin Morgan
Computational Biology / Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N.
PO Box 19024 Seattle, WA 98109

Location: Arnold Building M2 B169
Phone: (206) 667-2793



More information about the Bioconductor mailing list