# tutorial contains a matrix of genotypes R with 1000 SNPs for 165 individuals.
# and a matrix with an environmental variable C.
data("tutorial")
# Write R in a file called "genotypes.geno".
# Create file: "genotypes.geno".
write.geno(tutorial.R,"genotypes.geno")
# Read the file "genotypes.geno".
R = read.geno("genotypes.geno")
Run the code above in your browser using DataLab