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

Data file format #519

Open
vdvornyk1 opened this issue Oct 27, 2024 · 3 comments
Open

Data file format #519

vdvornyk1 opened this issue Oct 27, 2024 · 3 comments

Comments

@vdvornyk1
Copy link

Dear Florian,

I am trying to use your bigsnpr package for R but I puzzled with the data format. Could you explain it for dummy and give respective examples?

Thank you.

Best,

Volodymyr

@privefl
Copy link
Owner

privefl commented Oct 28, 2024

You're right, documentation could probably be better on this.
But, could you be a bit more precise on what part is puzzling you?

Is this helping?

@vdvornyk1
Copy link
Author

vdvornyk1 commented Oct 28, 2024 via email

@privefl
Copy link
Owner

privefl commented Oct 28, 2024

The packages are made for people that want to do most of their genetic analyses within R; usually people with some experience in R.
If you are not familiar with standard matrix accessors in R, it might be complicated for you to use the packages, sorry.

With such data format that you have (does it have a name ?), usually you can use PLINK to convert to bed/bim/fam, and then use snp_readBed/2() to convert to my format.

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