[BioC] as.numeric and NA
Wolfgang Huber
huber at ebi.ac.uk
Mon May 30 14:18:30 CEST 2005
Mohammad,
have you tried
exprs(data.raw) or
intensity(data.raw)
Also, please consider that the software is written by and the mailing
list discussions are provided by volunteers. So before posting such a
question, please consider reading the vignette of the affy package
first, and perhaps a manual of the R language.
Best wishes
Wolfgang
Mohammad Esad-Djou wrote:
> Hello,
>
> I would like to use for 42 experiments "as.numeric" (objects of type '"numeric"')
> I wrote in such a way:
>
>
>>library(affy)
>>data.raw <- ReadAffy(filenames= "./R/ME_cel/Expt1_R1.CEL",
>
> ... "./R/ME_cel/Expt14_R3.CEL")
>
>
>>as.numeric(sampleNames(data.raw))
>
> [1] NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA
> [26] NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA
> Warning message:
> NAs introduced by coercion
>
>
> How can I find correctly numeric values of data.raw?
>
> Thanks,
> Mohammad Esad-Djou
>
>
Best regards
Wolfgang
-------------------------------------
Wolfgang Huber
European Bioinformatics Institute
European Molecular Biology Laboratory
Cambridge CB10 1SD
England
Phone: +44 1223 494642
Fax: +44 1223 494486
Http: www.ebi.ac.uk/huber
More information about the Bioconductor
mailing list