powered by
chrOrder(chr.names)
isGenomeOrder
toGenomeOrder
chrOrder(c("chr5","chrX","chr3","chr7","chrY")) # c("chr3","chr5","chr7","chrX","chrY")
Run the code above in your browser using DataLab