Re: [R] How to handle missing values for the GeneMeta package?

2009-09-22 Thread Payam Minoofar
I am not sure if this is the solution you want, but complete.cases will remove rows that contain any NA values at all from a matrix. These lines get rid of NA values in my little function: predmat1 - as.matrix(predmat[complete.cases(predmat,respmat),]) respmat1 -

[R] How to handle missing values for the GeneMeta package?

2009-09-21 Thread Vassilis Golfinopoulos
Hello all, It seems that the GeneMeta passage returns NA in the respective row if any gene in the data sets to be synthesised are missing. Do you know of a way to overcome this problem? I tried using the 'impute' package to fill-in the missing values, but R crashes if 'impute' and 'GeneMeta'

Re: [R] How to handle missing values for the GeneMeta package?

2009-09-21 Thread Martin Morgan
Hi Vassilis -- Vassilis Golfinopoulos wrote: Hello all, It seems that the GeneMeta passage returns NA in the respective row if any gene in the data sets to be synthesised are missing. Do you know of a way to overcome this problem? I tried using the 'impute' package to fill-in the missing