Transforming a matrix of data to columns (with sample labels)
Hello! I process a lot of data sets with a unique format. They contain a matrix of data with a corresponding "map" of their labels. I've made a simplified version here as an example. The sample labels are in the first rows, followed by the data itself. For example, Sample 1 was measured 3 times and results are 20, 30, 40. I want to transform this data set so that the label is in column 1 and the ...