chrNumToChar {MultiDataSet} | R Documentation

## Convert chr numbers to chr strings

### 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

    chrNumToChar(vector)

### Arguments

`vector` | The vector with the chromosome numbers

### Value

A vector with the chromosomes in string format.

### Examples

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

[Package MultiDataSet version 1.14.0 Index]