Reorder columns by numerical annotation row


Cox Lab


November 15, 2023

1 General

2 Brief description

The order of the columns as they appear in the matrix is changed according to the values in a numerical row in ascending order. This can be useful for displaying columns in a specific order in a heat map.

Output: Same matrix but with columns in the new order implied by a numerical row.