Re: [R] Error in heatmap()

2015-12-23 Thread Bert Gunter
You might try posting on the Bioconductor list instead. They might have more suitable tools for what you are trying to do. It shoudn't hurt to ask, anyway ... If you do this and find something there that better meets your needs, please post back that information to this list so that others don't w

[R] Error in heatmap()

2015-12-23 Thread Tahani Libya
*Hi,* *while I try to analysis my data as the following ,I faced some problem with (heatmap()):* > dat<-ReadAffy() > dat AffyBatch object size of arrays=1164x1164 features (20 kb) cdf=HG-U133_Plus_2 (54675 affyids) number of samples=10 number of genes=54675 annotation=hgu133plus2 notes= > dat2

Re: [R] Error in heatmap

2013-10-24 Thread David Romero
Romero CC: R help Asunto: Re: [R] Error in heatmap David, You should cc r-help on all correspondence so others can follow the thread. The error appears to be a result of the missing values yielded by the dist() function on your matrix. See https://stat.ethz.ch/pipermail/r-help/2009-July

Re: [R] Error in heatmap

2013-10-24 Thread Adams, Jean
and without "row.names=1" > > Both give me error. > > ** ** > > Regards > > ** ** > > David > > ** ** > > *De:* Adams, Jean [mailto:jvad...@usgs.gov] > *Enviado el:* 24 de octubre de 2013 11:52 > *Para:* David Romero > *CC

Re: [R] Error in heatmap

2013-10-24 Thread Adams, Jean
ilto:jvad...@usgs.gov] > *Enviado el:* 22 de octubre de 2013 07:03 > *Para:* David Romero > *CC:* r-h...@stat.math.ethz.ch > *Asunto:* Re: [R] Error in heatmap > > ** ** > > Do you have a row or column that is all missing? > > sum(apply(is.na(as.matrix(SPIV2)

Re: [R] Error in heatmap

2013-10-22 Thread Adams, Jean
Do you have a row or column that is all missing? sum(apply(is.na(as.matrix(SPIV2)), 1, all)) > 0 sum(apply(is.na(as.matrix(SPIV2)), 2, all)) > 0 For example, this code m <- as.matrix(mtcars) m[8, ] <- NA heatmap(m, na.rm=TRUE) throws this error Error in hclustfun(dist

[R] Error in heatmap

2013-10-21 Thread David Romero
Hi, Could you please help? Heatmap doesn't work with: > heatmap(as.matrix(SPIV2),na.rm = T) Error in hclustfun(distfun(x)) : NA/NaN/Inf in foreign function call (arg 11) There are no 0 data rows or column Thanks a lot Regards --- D