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 37 / 50 Post

Tag:

Sex chromosome papers RSS


The genome sequence of Geoffroy's Bat, Myotis emarginatus (Geoffroy, 1806) (Chiroptera: Vespertilionidae)
Link

Placental and juvenile immune responses to maternal immune activation are differentially regulated by sex chromosomes and gonads across gestation
Link

The genome sequence of the barkfly, Loensia variegata (Latreille, 1799) (Psocodea: Psocidae)
Link