QuantGen / BEDMatrix

A matrix-like wrapper around PLINK .bed files
Other
18 stars 2 forks source link

Error in BEDMatrix(bd1) : File not found. #22

Closed zillurbmb51 closed 4 years ago

zillurbmb51 commented 4 years ago

Hello, I was trying to read some plink bed file in R using BEDMatrix. I am getting:

> path=system.file("extdata", "1321.maf5.indep0.1.bed", package = "BEDMatrix")
> bd2=BEDMatrix(path)
Error in BEDMatrix(path) : File not found.

But the file exists in the working directory, I also tried with relative/absolute path and always getting this error. Any Help? Best, Zillur

zillurbmb51 commented 4 years ago

If I use this: bd1=BEDMatrix('1321.maf5.indep0.1.bed' It works perfectly.