Skip to content
Prev 315018 / 398506 Next

sort matrix based on a specific order

Define them as factors with a specified order for your sorting.

e.g.

x <- factor(your_data, levels = c('c', 'b','d', 'a'))
On Thu, Jan 10, 2013 at 1:21 PM, array chip <arrayprofile at yahoo.com> wrote: