[BioC] Error of pamr.knnimpute

washiot+1 at gmail.com washiot+1 at gmail.com
Tue Jan 16 14:29:14 CET 2007


Dear all,

I am trying to use pamr.knnimpute with Agilent Microarray data which
consist from 137 colums (samples) and 23653 rows (probes).
These data values were calculated in log ratio, and 212 of them were "NA".

I tried to run pamr.knnimpute with this dataset.
But an error occurred as below.

> pamr.knnimpute(tmp2)
Error in rep(1, p) : invalid 'times' argument


Would you tell me how to fix this problem ?


Sincerely yours,

Takanori Washio
Keio University


------------------------------------

> tmp2[is.na(tmp2)]
[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
----//----
[201] NA NA NA NA NA NA NA NA NA NA NA NA

------------------------------------

> tmp2[1,]
       1        2        3        4        5        6        7        8 
 0.10767  0.16026 -0.04576  0.01838  0.06601 -0.01996  0.09117  0.06113 
----//----
     137 
 0.00153



More information about the Bioconductor mailing list