search for: targetgenes

Displaying 1 result from an estimated 1 matches for "targetgenes".

2010 Apr 13
0
Coloring leaves in Dendrogram according to gene names
...same color for the leaves. Using the standard function (with the my_colors[i]), I do have the leaves of different colors !!! The structure of "my_colors[i]" is the same as the structure of "color" !!! Do you have any idea on what is going wrong ? Many thanks for your help, targetGenes<-length(unique(bm$Target)) #Getting the number of unique target genes my_colors<-rainbow(targetGenes) #Creating a vector of colors for each gene gene2color<-data.frame(gene=unique(bm$Target), color=my_colors) #Creating the data.frame dhc<-as.dendrogram(fit.x) #the dendrogram using th...