QuantGen / BEDMatrix

A matrix-like wrapper around PLINK .bed files
Other
18 stars 2 forks source link

BEDMatrix error #16

Closed Knox2020 closed 6 years ago

Knox2020 commented 6 years ago

Hello,

I have a .bed file that I am trying to extract genotypes from. I can read it into R just fine. However, I cannot extract any genotypes. M<-BEDMatrix("my filename") works fine as does "dim" "rownames" and "colnames".

If I try to extract the 1st three individuals I get: M[1:3] Error in convertIndex(x, i, "k") : unused argument ("k")

Running R 3.3.2. Installed package "xts".

Any help appreciated.

agrueneberg commented 6 years ago

Hi @Corvallis1,

that's odd. What versions of the BEDMatrix package and its dependency crochet do you have installed? You can check with the packageVersion() function: packageVersion("BEDMatrix") and packageVersion("crochet").

Thanks, Alex

agrueneberg commented 6 years ago

Hi @Corvallis1,

I will close this ticket assuming that your problem has been resolved in the meantime. Please reopen if this is not the case.

Thanks, Alex