Hi, I'm learning basic GWAS analysis using the Foulkes lab tutorial available at http://www.stat-gen.org
The thing is that just cannot read the PLINK files. Following the tutorial I have used the code:
geno <- read.plink(gwas.fn$bed, gwas.fn$bim, gwas.fn$fam, na.strings = ("-9"))
But I repeatedly get the following error:
Error in read.plink(gwas.fn$bed, gwas.fn$bim, gwas.fn$fam, na.strings = ("-9")) :
Couln't open input file: ~/Desktop/GWAStutorial.bed
As it looks like I just can't open the .bed file, which contains the genotype information, coded in binary. But the file is the exactly one from the tutorial, available to anyone. Any chance it might be corrupted?
Anybody can give me any hints?
Thanks in advance!