RCircos.Get.Chromosome.Order: Find the order of Chromosome Names

Description Usage Arguments Value Author(s) Examples

View source: R/RCircosChromosomeIdeogram.R

Description

Generate an ordered chromosome names from input. For human and other mammalian animals, numeric names (integers or Roman numbers) will go first followed by chromosome X, Y, and M. If all chromosome names are character only, they will be in alphabetical order.

Usage

1

Arguments

chromosomes

Character vector, names of chromosomes.

Value

Character vector, ordered chromosome name list.

Author(s)

Henry Zhang

Examples

1
2
3
library(RCircos)
chromosomes <- paste0("chr", c(1:10, 21,22, 11:20, "X", "Y"))  
chromosomes <- RCircos.Get.Chromosome.Order(chromosomes)  

RCircos documentation built on May 29, 2017, 6:17 p.m.

Search within the RCircos package
Search all R packages, documentation and source code