View source: R/RCircosChromosomeIdeogram.R
RCircos.Get.Chromosome.Order | R Documentation |
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.
RCircos.Get.Chromosome.Order(chromosomes=NULL)
chromosomes |
Character vector, names of chromosomes. |
Character vector, ordered chromosome name list.
Henry Zhang
library(RCircos) chromosomes <- paste0("chr", c(1:10, 21,22, 11:20, "X", "Y")) chromosomes <- RCircos.Get.Chromosome.Order(chromosomes)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.