Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to call big_univLogReg on simulated data? #504

Closed
garyzhubc opened this issue Jun 14, 2024 · 1 comment
Closed

Is it possible to call big_univLogReg on simulated data? #504

garyzhubc opened this issue Jun 14, 2024 · 1 comment

Comments

@garyzhubc
Copy link

garyzhubc commented Jun 14, 2024

Is it possible to call big_univLogReg on simulated data x,y where x is a binary matrix and y is a binary vector?

> gwas <- big_univLogReg(x, y)
Error: 'X' is not of class 'FBM'.

I know that I could've done this in lm but I would like to make a test myself on bigsnpr. Thank you.

@privefl
Copy link
Owner

privefl commented Jun 14, 2024

This function is from {bigstatsr}, not {bigsnpr}.
You can always call as_FBM() on your matrix to transform it before using this function.

@privefl privefl closed this as completed Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants