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 -
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'
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
3 matches
Mail list logo