R/orderChromosome.R

Defines functions `orderChromosome`

`orderChromosome` <-function(x)
 {
   temp<-rep(NA,13)
   for (i in 10:22)
     temp[i-9]<-grep(i,x)
   temp2<-rep(NA,9)
   for (i in 1:9){
      aux<-grep(i,x)
      temp2[i]<-aux[!aux%in%temp]
   }
   temp3<-grep("X",x)
   res<-c(temp2,temp,temp3)
   res
  }

Try the SNPassoc package in your browser

Any scripts or data that you put into this service are public.

SNPassoc documentation built on Dec. 28, 2022, 1:59 a.m.