Re: [R] heat map labeling

2015-08-28 Thread Jim Lemon
Hi Angela, It depends upon what you want to illustrate. If you are just interested in the relative values, you can suppress the labels. One solution is to create a very high PDF to look at the colors, which you could then expand and scroll around to see the labels. Jim On Sat, Aug 29, 2015 at 6:0

Re: [R] heat map labeling

2015-08-28 Thread Angela via R-help
wrote: Subject: Re: [R] heat map labeling Cc: "r-help mailing list" Date: Friday, August 28, 2015, 6:16 AM Hi Angela,Assuming the above data frame is named angela.df: angela.mat<-as.matrix(angela.df[,2:3])angela.mat<-angela.mat[apply(angela.mat,1,function(x) all(x) > 0),]

Re: [R] heat map labeling

2015-08-28 Thread Jim Lemon
Hi Angela, Assuming the above data frame is named angela.df: angela.mat<-as.matrix(angela.df[,2:3]) angela.mat<-angela.mat[apply(angela.mat,1,function(x) all(x) > 0),] will remove all of the rows that have contain at least one zero. Jim On Fri, Aug 28, 2015 at 9:00 AM, Angela via R-help wrote

[R] heat map labeling

2015-08-27 Thread Angela via R-help
Hello, I have a dataset of 985 genes, looks something like the ones below. I want to label only those with the high intensities, since labeling all doesn't show up. Is there a way to do that? If not, is there a way to pull out the highest ones (say, highest 50, or those above X amount) and only

[R] heat map labeling

2015-08-27 Thread Angela via R-help
Hello, I have a dataset of 985 genes, looks something like the ones below. I want to label only those with the high intensities, since labeling all doesn't show up. Is there a way to do that? If not, is there a way to pull out the highest ones (say, highest 50, or those above X amount) and only