[BioC] as.numeric and NA

Mohammad Esad-Djou shahrgol at web.de
Mon May 30 13:08:24 CEST 2005


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



More information about the Bioconductor mailing list