Open garyzhubc opened 5 days ago
Have you looked a bit about the documentation and some of the examples from bigstatsr/bigsnpr? You should know how to access a standard R matrix from an FBM.
I know that you can use X[] to retrieve a numerical matrix but then lose the utilities of the bigsnpr matrix.
But I wonder if there's a way to keep the utility of the bigsnpr matrix
I think SuSiE expects a matrix that is not too big anyway.
If I want to use the genotype matrix as input to another library, is it something doable? For instance, something like:
gives