Hi All.

I am clustering affymetrix expression data using hclust. I would like to label the tree with the sample name and group from which the sample comes from. I can generate a vector of labels from my phenoData slot 

eg 

graph_labels <- paste(pData(rma_data)$group, pData(rma_data)$label, sep=' : ') 

but I can't get them to sit on the right branches using

plot (clust, labels = graph_labels). 

I suspect this has to do with the labeling in the dist object.

I was wondering if there was a way to change the labels in the dist object to reflect my preferred labeling or a way to quickly re-order my preferred labeling vector to match that of the dist object.

Cheers

Iain


	[[alternative HTML version deleted]]

