Stacks Image 20108

For Academics

Sort data frame

Ordering a data frame by a particular column can be quicker than doing it in excel, if the data frame is large.

It is useful, for example

  1. For plotting lines through points in order, or

  2. To see which rows contain the most extreme values at a column

The command

sortedData <- data.frame(unsortedFrame[order(unsortedFrame$length, decreasing=T),])
Previous Post 18 / 21 Post

Tag:

Sex chromosome papers RSS


Hierarchical architecture of neo-sex chromosomes and accelerated adaptive evolution in tortricid moths
Link

A noncanonical role of roX RNAs in autosomal epigenetic repression
Link

Ancient structural variants control sex-specific flowering time morphs in walnuts and hickories
Link