[R] Matrix heatmap

Petr PIKAL petr.pikal at precheza.cz
Fri May 11 08:15:24 CEST 2012


Hi

> 
> how do I plot only the data below 10? everything is white for the 0-10 
and
> 10-90 is black ..

What data below 10? I do not see any. You posted some mails before but I 
do not keep all mails from R. Only those which helped me somehow.

Basically

x <- sample(1:100, 100, raplace=TRUE)
x[x<10]

gives you only values of x below 10.

When you put it into another object you can do anything with it.

> those functions which do this?
> was bad for such basic questions, but I started tinkering with R is 6 
days

Maybe it is time to go through your R installation and find out R intro 
document. You can do save time by reding it at  least some chapters of it, 
it is not so long.

Regards
Petr

> 
> --
> View this message in context: http://r.789695.n4.nabble.com/Matrix-
> heatmap-tp4619084p4625021.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list