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
*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
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
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
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)
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
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
7 matches
Mail list logo