marker.frame: A data.frame.object consisting of factors or character vectors that encode the allele states.
level.names: A vector of length 6 to translate the levels attribute or character codes into allele states that make.state.matrix understands. If necessary, dummy codes are used to fill the vector.
Returns
A matrix, for which column i is match(as.character(marker.frame[,i]),level.names)