Question: reading ped error when using the snpStats library
gravatar for kzelaya2
11 months ago by
kzelaya210 wrote:


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: 

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 11 months ago by kzelaya210

Can you paste snpStats' version you're using?

ADD REPLYlink written 9 months ago by GENOMIC_region0
Please log in to add an answer.


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