data[order,] to "just work". It doesn't for data frames with a single column,
which happens for annotation data, hence the need for this function. Sigh.
A data frame to reorder the rows of.
An array containing indices permutation to apply to the rows.
The data frame with the new row orders.
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.