chr.sort: Chromosome ordering

Description Usage Arguments Value Examples

View source: R/validate.input.data.r

Description

A function to order a list of chromosomes

Usage

1
chr.sort(chrlist)

Arguments

chrlist

(character): a vector containing chromosome names (chr1, chr2...chrX,chrY )

Value

a character vector of sorted chromosomes

Examples

1
2
chrlist <- paste("chr",c("X","Y",sample(1:22)),sep="")
chr_sorted <- chr.sort(chrlist)

ccbiolab/svpluscnv documentation built on Sept. 9, 2020, 4:52 a.m.