Florian Privé

Results 380 comments of Florian Privé

And if you try `nabor::knn(as.matrix(map.chr$V2), as.matrix(info$pos), k = 1)`?

You need to install the necessary tools for compilation, and then reinstall the packages.

Yes, there are problems with how you install packages. For now, it seems to come from R package {nabor}, but it would be good if you could install from source...

Then reinstall `install.packages("nabor", type = "source")` and try again.

I think the one usually reported in papers is the one for X2, right?

Yes, currently `big_univLinReg()` uses t-scores and `big_univLogReg()` uses Z-scores, so you need to square the lambda_GC. This is also my understanding that it is usually reported for chi-squares (X2), therefore...

Also, maybe think about exporting the function to get the lambda_GC, which for now can be run using `bigsnpr:::getLambdaGC()`.

Please see https://github.com/privefl/bigsnpr/issues/176#issuecomment-791629700.

If anyone is willing to help implementing this, please discuss here.