chrNumToChar: Convert chr numbers to chr strings

Description Usage Arguments Value Examples

View source: R/chrNumToChar.R

Description

Given a vector of number representing the chromosomes, convert them to string (e.g 1 to chr1). 23 is consider chrX, 24 is chrY, 25 is chrXY (probes shared between chromosomes X and Y) and 26 is chrMT.

Usage

1

Arguments

vector

The vector with the chromosome numbers

Value

A vector with the chromosomes in string format.

Examples

1
2
3
chromosomes <- c(1, 3, 4, 23, 15)
stringChrs <- chrNumToChar(chromosomes)
stringChrs

isglobal-brge/MultiDataSet documentation built on Oct. 9, 2021, 11:42 a.m.