This function recodes a genotype data matrix in a format as expected from
Matrix with genotype information.
This function recodes the values given in the data matrix
substitutes it with 0,1 and 2. Missing values are encoded as 3.
A matrix with same dimension as the input, but in 0,1,2 encoding.
1 2 3
# genotData <- read.table("MDR_format_ready_BCR.txt",header=T) # temp <- recodeData(genotData)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.