While trying to read genetic data from a Plink .bed file I got the following error message:
> askat.result <- ASKAT.region(y=pheno, X=covar, Phi=rel.mat,
type="bed",filename=geno.file, chr=4, startpos=0, endpos=170000, map=mymap)
Error in file(file, "rt") (from read.haplo.bedfile.R#27) : cannot open the connection
In addition: Warning message:
In file(file, "rt") :
cannot open file 'raw-GWA-data.bed.bim': No such file or directory
So probably the basename of the file should be used in read.haplo.bedfile.R instead of the full filename.
While trying to read genetic data from a Plink
.bed
file I got the following error message:So probably the basename of the file should be used in
read.haplo.bedfile.R
instead of the full filename.