error in scantwo

12 views
Skip to first unread message

nata...@gmail.com

unread,
Mar 15, 2021, 4:53:41 PMMar 15
to R/qtl discussion
Hi
I have a problem running scantwo with n.perm>0 (e.g n.perm=10) when I use this code-

mycross<-calc.genoprob(mycross,2,map.function="kosambi")
operm2<-scantwo(mycross,pheno.col=c(7:8),method="hk",n.perm=10)

I get the error-

Permutation 1 
Error in dimnames(out$lod) <- `*vtmp*` : 'dimnames' applied to non-array

mycross info-
  147  individuals
3036  markers
14  phenotypes
 --Cross type: f2 

It used to work but since I run the script with n.cluster=2 as a local job, the error popped up-

Error in checkForRemoteErrors(val) : 
  2 nodes produced errors; first error: 'dimnames' applied to non-array
Calls: sourceWithProgress ... clusterApply -> staticClusterApply -> checkForRemoteErrors
Execution halted

please help

Karl Broman

unread,
Mar 15, 2021, 5:23:50 PMMar 15
to R/qtl discussion
I don't think I've seen this problem before. Can you share your data?
What version of R and R/qtl are you using, and what operating system?

karl

nata...@gmail.com

unread,
Mar 19, 2021, 4:56:28 AMMar 19
to R/qtl discussion
I'm using windows
Platform: x86_64-w64-mingw32/x64 (64-bit)
R version 4.0.2 (2020-06-22)
R/qtl v1.46-2
ב-יום שני, 15 במרץ 2021 בשעה 23:23:50 UTC+2, kbr...@gmail.com כתב/ה:

nata...@gmail.com

unread,
Mar 19, 2021, 6:53:17 AMMar 19
to R/qtl discussion
147  individuals
3036  markers
14  phenotypes
 --Cross type: f2 

ב-יום שישי, 19 במרץ 2021 בשעה 10:56:28 UTC+2, nata...@gmail.com כתב/ה:
Reply all
Reply to author
Forward
0 new messages