(test <- snp_fake(5, 12))
# The genotype Filebackeg Big Matrix is initialized with missing values
G <- test$genotypes
G[]
# Modify the genotype `big.matrix`
G[] <- sample(as.raw(0:3), size = length(G), replace = TRUE)
G[]
Run the code above in your browser using DataLab