Skip to content

Conversation

@dvg-p4
Copy link

@dvg-p4 dvg-p4 commented Nov 7, 2025

Closes #671

In order to implement the feature, this PR imports pgenlib_write.h and pgenlib_write.cc from PLINK (and updates the other PLINK library files since I wasn't sure what version they were from currently).

TODO:

  • write tests
  • double-check behavior with weights within and outside [0,1]

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

Successfully merging this pull request may close these issues.

Feature request: Allow writing masks to plink2 (pgen) file format so that non-integer weighted genotypes can be captured

1 participant