chrNumToChar {MultiDataSet} | R Documentation |
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.
chrNumToChar(vector)
vector |
The vector with the chromosome numbers |
A vector with the chromosomes in string format.
chromosomes <- c(1, 3, 4, 23, 15) stringChrs <- chrNumToChar(chromosomes) stringChrs