I generated a heat map where I have order of rows via which these are arranged. I want to use this order to plot another set of control samples to show side by side pattern. What should be the best way to do this pattern. Perhaps we may be able to do it in R or any other tool? I have only 500 rows and 3 columns
Thanks
What is have is I ran the clustering and have
Now I want to use File 1 order to sort the second file (File2) both files have unique matching probe id
I dont want to include my control data along with clustering as it affect ordering. I did not clarify clearly in the first instance
Use the
match()
function to reorder you second data set based on ClusterOrder. Something like: