# dataLine1=matrix(c("rs12","AA","AG","GG","CG","AA"),nrow=1)
# permuteGenotype(dataLine1,fromCol=2)
# dataLine2=matrix(c("rs12","AA","AG","GG","CG","AA",
# "rs12","AA","AG","GG","CG","AA"),nrow=2,byrow=TRUE)
# permuteGenotype(dataLine2,fromCol=2)
Run the code above in your browser using DataLab