[BioC] Biobase: How to replace the ExpressionSet phenoData?
Daniel Brewer
daniel.brewer at icr.ac.uk
Wed Aug 25 12:01:17 CEST 2010
Don't worry I had a typo. Ooops.
On 25/08/2010 10:58 AM, Daniel Brewer wrote:
> Hello,
>
> I have an ExpressionSet object (nodups) and I would like to replace its
> phenoData with a different data.frame object (pdata). I cannot work out
> how to do it. I have tired:
>
>> phenoData(nodups) <- new("AnnotatedDataFrame",pData)
> Error in value[[3L]](cond) :
> AnnotatedDataFrame 'data' is class 'standardGeneric' but should be or
> extend 'data.frame'
> AnnotatedDataFrame 'initialize' could not update varMetadata:
> perhaps pData and varMetadata are inconsistent?
>
> Any ideas?
>
> Thanks
>
> Dan
>
--
**************************************************************
Daniel Brewer, Ph.D.
Institute of Cancer Research
Molecular Carcinogenesis
MUCRC
15 Cotswold Road
Sutton, Surrey SM2 5NG
United Kingdom
Tel: +44 (0) 20 8722 4109
**************************************************************
The Institute of Cancer Research: Royal Cancer Hospital, a charitable Company Limited by Guarantee, Registered in England under Company No. 534147 with its Registered Office at 123 Old Brompton Road, London SW7 3RP.
This e-mail message is confidential and for use by the a...{{dropped:2}}
More information about the Bioconductor
mailing list