leelabsg / SKAT

Sequence kernel association test (SKAT)
42 stars 16 forks source link

Bug in SKATBinary_Robust.SSD.All #6

Closed gpovysil closed 2 years ago

gpovysil commented 4 years ago

I get the following error when I call SKATBinary_Robust.SSD.All: Error in OUT.nRare[i] <- re$n.rare : replacement has length zero

re$n.rare and re$n.common are never set because they probably don't belong here but to the CommonRare version of the function.

I'm interested in trying out the new robust version so it would be great if you could fix this. Thanks in advance.

longfei8533 commented 4 years ago

I have the same problem.

came203 commented 4 years ago

Me too

came203 commented 4 years ago

Just a heads up, I commented out the two lines

OUT.nRare[i]<-re$n.rare
OUT.nCommon[i]<-re$n.common

Now it seems to run fine

raonyguimaraes commented 3 years ago

Me too!

enriquea commented 3 years ago

Hi there,

Any update in this issue? I'm having the same error...

Thanks in advance

enriquea commented 3 years ago

Hi there,

Any update in this issue? I'm having the same error...

Thanks in advance

Ok, this is not longer a issue when using the SKAT version 2.2.2 (installed from Github).

other attached packages:
[1] SKAT_2.2.2    SPAtest_3.1.2 Matrix_1.2-15
leeshawn commented 2 years ago

Sorry for not commenting on this. Since it is fixed, I will close this.