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 9 / 10 Post

Tag:

Sex chromosome papers RSS


Repeatome Dynamics and Sex Chromosome Differentiation in the XY and XY1Y2 Systems of the Fish Hoplias malabaricus (Teleostei; Characiformes)
Link

A single theory for the evolution of sex chromosomes and the two rules of speciation
Link

Karyotypic analysis of 62,587 Han Chinese infertile couples undergoing assisted reproductive technology treatments: insights into chromosomal variations
Link