Skip to content
Prev 1061 / 21312 Next

[Bioc-devel] accession methods to new ExpressionSet objects

Hi Martino,

Martino Barenco <sejjmba at ucl.ac.uk> writes:
Yes, pData will remain
The new ExpressionSet does not require an element se.exprs, so there
is no method defined.
Yes assayData(obj) returns the assay data (list or environment), and $
(or [[) can be used to extract an 'se.exprs' element (if it
exists!). You can check on the names of the assay data elements with
assayDataElementNames.
obj <- assayDataElementReplace(obj, 'se.exprs', <matrix>)

or, with the very latest Biobase

assayDataElement(obj, 'se.exprs') <- <matrix>

do the trick; The awkwardness of the syntax emphasize that these are
departing from the 'usual' ExpressisonSet interface, that somehow the
se.exprs element is different from what an ExpressionSet 'is'. Likely
you should do validObject(obj) after the addition, to make sure that
the object you create is consistent with an ExpressionSet (there may
be row or column name issues with your 'se.exprs' matrix).
Are you thinking of the 'Depends' field? You should probably indicate
the version of Biobase you used when updating your code.
Hope that helps, and feel free to ask further questions if you need
more help.

Martin

  
    
Message-ID: <6phirc1btg1.fsf@gopher4.fhcrc.org>
In-Reply-To: <AEC9C06C-11A6-4AE2-940A-9643795CE1AC@ucl.ac.uk> (Martino Barenco's message of "Thu, 12 Apr 2007 11:51:02 +0100")