Search
Question: reading ped error when using the snpStats library
0
gravatar for kzelaya2
23 days ago by
kzelaya20
kzelaya20 wrote:

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? 

 

ADD COMMENTlink written 23 days ago by kzelaya20
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.2.0
Traffic: 403 users visited in the last hour