Search
Question: reading ped error when using the snpStats library
1
gravatar for kzelaya2
8 months ago by
kzelaya210
kzelaya210 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 8 months ago by kzelaya210

Can you paste snpStats' version you're using?

ADD REPLYlink written 6 months ago by GENOMIC_region0
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: 375 users visited in the last hour