Re: [R] Error while running Vegas function in cpvSNP package

2016-09-07 Thread caitlin mchugh via R-help
Hello, Please find attached a script where I tried to replicate the issue. I was unable to reproduce the error. Perhaps you can send me more details? Also, it appears the LD matrix you are using is not symmetric nor does it have 1's on the diagonal. Both of these things should be satisfied for th

[R] Error while running Vegas function in cpvSNP package

2016-09-01 Thread MLSC
Hello Sir, When I try to run vegas() function, I come across below errors, can somebody help me in fixing this issue? > test<-vegas(snpsGSC, gr,ldMat,1000,correction=TRUE,seed=NULL, verbose=FALSE) Warning: coercing ldMatrix from data.frame to matrix. Error in validObject(.Object) : invalid clas