Entering edit mode
kzelaya2
▴
10
@kzelaya2-14143
Last seen 7.2 years ago
Hello,
I want to read a ped file using the read.ped() function method from snpStats. The ped file is located inside a folder on my desktop. When I run this code:
library(snpStats) data.dir <- '/Users/katezelaya/Desktop/smri-impute' genoPed.fn <- sprintf("%s/myPlinkTextData.ped", data.dir) geno_ped <- read.pedfile(genoPed.fn)
It gives me this output error:
Error in read.pedfile(genoPed.fn) : object 'm' not found In addition: Warning message: closing unused connection 3 (/Users/katezelaya/Desktop/smri-impute/myPlinkTextData.ped)
How do I resolve this?
Can you paste snpStats' version you're using?