chrOrder {genoset} | R Documentation

## Order chromosome names in proper genome order

### Description

Chromosomes make the most sense orded by number, then by letter.

### Usage

    chrOrder(chr.names)

### Arguments

`chr.names` | character, vector of unique chromosome names

### Value

character vector of chromosome names in proper order

### See Also

Other 'genome ordering': `isGenomeOrder`, `toGenomeOrder`

### Examples

       chrOrder(c('chr5','chrX','chr3','chr7','chrY'))  #  c('chr3','chr5','chr7','chrX','chrY')

[Package genoset version 1.43.0 Index]